mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-01-11 02:35:53 +00:00
Fix some minor nits (#298)
This commit is contained in:
parent
5703f6f353
commit
aa8d85dbbb
@ -68,7 +68,7 @@ publish: build bundle
|
||||
|
||||
# Run ref-tests in linux environment for cross-compatability check
|
||||
.PHONY: linux-test
|
||||
linux-test: build
|
||||
linux-test: bundle
|
||||
@# Docker cannot copy from outside this dir
|
||||
@cp -r ../../tests ref-tests
|
||||
@docker build -t "linux-test" .
|
||||
|
@ -1890,9 +1890,9 @@ static void free_fft_settings(FFTSettings *fs) {
|
||||
/**
|
||||
* Free the memory that was previously allocated by new_kzg_settings().
|
||||
*
|
||||
* @remark It's a NOP if `ks` is NULL.
|
||||
* @remark It's a NOP if `s` is NULL.
|
||||
*
|
||||
* @param[in] ks The settings to be freed
|
||||
* @param[in] s The settings to be freed
|
||||
*/
|
||||
static void free_kzg_settings(KZGSettings *s) {
|
||||
if (s == NULL) return;
|
||||
|
@ -59,7 +59,7 @@ extern "C" {
|
||||
* should be chosen as the the next-largest power of two and polynomials
|
||||
* represented by their evaluations at a subset of the 2^i'th roots of unity.
|
||||
* While the code in this library tries to take this into account, we do not
|
||||
* need the case where FIELD_ELEMENTS_PER_BLOB is not a power of 2. As this
|
||||
* need the case where FIELD_ELEMENTS_PER_BLOB is not a power of 2. As this
|
||||
* case is neither maintained nor tested, we prefer to not support it.
|
||||
*/
|
||||
#if (FIELD_ELEMENTS_PER_BLOB & (FIELD_ELEMENTS_PER_BLOB - 1)) != 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user