mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-01-12 11:14:42 +00:00
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);
|
TEST_CHECK(fft_fr(out, data, &fs, true, fs.max_width) == C_KZG_OK);
|
||||||
|
|
||||||
// Verify against the known result, `inv_fft_expected`
|
// 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);
|
TEST_CHECK(n == fs.max_width);
|
||||||
for (int i = 0; i < n; i++) {
|
for (int i = 0; i < n; i++) {
|
||||||
blst_fr expected;
|
blst_fr expected;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user