summaryrefslogtreecommitdiff
path: root/numpy/array_api/_statistical_functions.py
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2021-09-24 15:48:48 +0200
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2021-09-24 16:05:39 +0200
commitcfadd9f5ee5c1a3740a094648d73ad07a893aefc (patch)
tree6c53d1228913a197016ac55140a4073f4d8bb4d0 /numpy/array_api/_statistical_functions.py
parent0cf5bc092f801a4c004ecdb7d1061f46aaab4ff4 (diff)
downloadnumpy-cfadd9f5ee5c1a3740a094648d73ad07a893aefc.tar.gz
MAINT: Fix LGTM.com warning
Comparison result is always the same Comparison is always false because bufferSize >= 16384. Indeed Dragon4_Scratch is defined as: typedef struct { BigInt bigints[BIGINT_DRAGON4_GROUPSIZE]; char repr[16384]; } Dragon4_Scratch; Therefore sizeof(scratch->repr) is 16384. It cannot be 0 or 1. Make bufferSize const for clarity.
Diffstat (limited to 'numpy/array_api/_statistical_functions.py')
0 files changed, 0 insertions, 0 deletions