Use `sizeof` like the operator it is
This commit is contained in:
parent
0449f41038
commit
1ab4d08861
|
@ -100,7 +100,7 @@ void inverse_fft(void) {
|
|||
TEST_CHECK(fft_fr(out, data, &fs, true, fs.max_width) == C_KZG_OK);
|
||||
|
||||
// Verify against the known result, `inv_fft_expected`
|
||||
int n = sizeof(inv_fft_expected) / sizeof(inv_fft_expected[0]);
|
||||
int n = sizeof inv_fft_expected / sizeof inv_fft_expected[0];
|
||||
TEST_CHECK(n == fs.max_width);
|
||||
for (int i = 0; i < n; i++) {
|
||||
blst_fr expected;
|
||||
|
|
Loading…
Reference in New Issue