File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
packages/library/src/math Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export class UInt112 extends UInt<112> {
1919 } ;
2020
2121 public static check ( x : { value : Field } ) {
22- UInt . assertionFunction ( Gadgets . isDefinitelyInRangeN ( 112 , x . value ) ) ;
22+ Gadgets . isDefinitelyInRangeN ( 112 , x . value ) . assertTrue ( ) ;
2323 }
2424
2525 public static from ( x : UInt112 | bigint | number | string ) : UInt112 {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export class UInt224 extends UInt<224> {
1818 } ;
1919
2020 public static check ( x : { value : Field } ) {
21- UInt . assertionFunction ( Gadgets . isDefinitelyInRangeN ( 224 , x . value ) ) ;
21+ Gadgets . isDefinitelyInRangeN ( 224 , x . value ) . assertTrue ( ) ;
2222 }
2323
2424 public static from ( x : UInt < 224 > | bigint | number | string ) : UInt224 {
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export class UInt32 extends UInt<32> {
1919 } ;
2020
2121 public static check ( x : { value : Field } ) {
22- UInt . assertionFunction ( Gadgets . isDefinitelyInRangeN ( 32 , x . value ) ) ;
22+ Gadgets . isDefinitelyInRangeN ( 32 , x . value ) . assertTrue ( ) ;
2323 }
2424
2525 public static from ( x : UInt32 | bigint | number | string ) {
You can’t perform that action at this time.
0 commit comments