File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1077,11 +1077,11 @@ define("pyret-base/js/js-numbers", function() {
10771077 options = options || { } ;
10781078 return ( function ( m , n , errbacks ) {
10791079 if ( m instanceof Rational ) {
1080- m = numerator ( m ) ;
1080+ m = numerator ( m , errbacks ) ;
10811081 }
10821082
10831083 if ( n instanceof Rational ) {
1084- n = numerator ( n ) ;
1084+ n = numerator ( n , errbacks ) ;
10851085 }
10861086
10871087 if ( typeof ( m ) === 'number' && typeof ( n ) === 'number' ) {
@@ -1109,7 +1109,7 @@ define("pyret-base/js/js-numbers", function() {
11091109 options = options || { } ;
11101110 return ( function ( m , errbacks ) {
11111111 if ( m instanceof Rational ) {
1112- m = numerator ( m ) ;
1112+ m = numerator ( m , errbacks ) ;
11131113 }
11141114
11151115 if ( typeof ( m ) === 'number' ) {
You can’t perform that action at this time.
0 commit comments