You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and then allowing the end user to implement the trait themselves for their desired limbs.
Or, when using the fp31! macro to create a field of n limbs, use the constant_unsigned_array31! macro within the macro to implement the trait for [u32; $n].
The text was updated successfully, but these errors were encountered:
The
fp31!
macro is used to define a new field where you can specify the number of limbs (among other things).implements the
ConstantUnsignedArray31
trait for "limbs" of length 9 and 16, the two provided by the crateFp256
andFp480
.This issue can be solved by exporting the macro that implements the
ConstantUnsignedArray31
trait like thisand then allowing the end user to implement the trait themselves for their desired limbs.
Or, when using the
fp31!
macro to create a field of n limbs, use theconstant_unsigned_array31!
macro within the macro to implement the trait for[u32; $n]
.The text was updated successfully, but these errors were encountered: