Fix condition check (#17)

This commit is contained in:
Anton Nashatyrev 2021-08-11 13:13:08 +03:00 committed by GitHub
parent 950d53c325
commit 350a961b90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ C_KZG_RET new_fk20_multi_settings(FK20MultiSettings *fk, uint64_t n2, uint64_t c
CHECK(n2 <= ks->fs->max_width); CHECK(n2 <= ks->fs->max_width);
CHECK(is_power_of_two(n2)); CHECK(is_power_of_two(n2));
CHECK(n2 >= 2); CHECK(n2 >= 2);
CHECK(chunk_len <= n2); CHECK(chunk_len <= n2 / 2);
CHECK(is_power_of_two(chunk_len)); CHECK(is_power_of_two(chunk_len));
CHECK(chunk_len > 0); CHECK(chunk_len > 0);