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
|
# Run ref-tests in linux environment for cross-compatability check
|
||||||
.PHONY: linux-test
|
.PHONY: linux-test
|
||||||
linux-test: build
|
linux-test: bundle
|
||||||
@# Docker cannot copy from outside this dir
|
@# Docker cannot copy from outside this dir
|
||||||
@cp -r ../../tests ref-tests
|
@cp -r ../../tests ref-tests
|
||||||
@docker build -t "linux-test" .
|
@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().
|
* 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) {
|
static void free_kzg_settings(KZGSettings *s) {
|
||||||
if (s == NULL) return;
|
if (s == NULL) return;
|
||||||
|
|
|
@ -59,7 +59,7 @@ extern "C" {
|
||||||
* should be chosen as the the next-largest power of two and polynomials
|
* 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.
|
* 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
|
* 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.
|
* case is neither maintained nor tested, we prefer to not support it.
|
||||||
*/
|
*/
|
||||||
#if (FIELD_ELEMENTS_PER_BLOB & (FIELD_ELEMENTS_PER_BLOB - 1)) != 0
|
#if (FIELD_ELEMENTS_PER_BLOB & (FIELD_ELEMENTS_PER_BLOB - 1)) != 0
|
||||||
|
|
Loading…
Reference in New Issue