Skip to content

Commit 477d441

Browse files
🐛 fix(mul): Use correct API method.
Replace _mul by mul.
1 parent ec218f1 commit 477d441

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

Diff for: src/Integer.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
stringify , convert , _trim_positive ,
55
_alloc , _copy , _zeros ,
66
_jz , _cmp , _eq ,
7-
add , _sub , _mul , _idivmod , _powd ,
7+
add , _sub , mul , _idivmod , _powd ,
88
_increment ,
99
} from '@aureooms/js-integer-big-endian' ;
1010

@@ -142,7 +142,7 @@ export class Integer {
142142

143143
const c = _zeros( a.length + b.length ) ;
144144

145-
_mul( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;
145+
mul( r , a , 0 , a.length , b , 0 , b.length , c , 0 , c.length ) ;
146146

147147
return new Integer( r , result_is_negative , c ) ;
148148

0 commit comments

Comments
 (0)