Use `sizeof` like the operator it is

This commit is contained in:
Ben Edgington 2021-02-05 15:29:47 +00:00
parent 0449f41038
commit 1ab4d08861
1 changed files with 1 additions and 1 deletions

View File

@ -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;