Skip to content

Commit 5b27900

Browse files
committed
fix a typo on Polynomial.pow
1 parent ea87980 commit 5b27900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polynomials.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Numbas.addExtension('polynomials',['jme','jme-display'],function(extension) {
211211
if(this.ordered_coefficients.length==0) {
212212
throw(new Error("0^0 is undefined"));
213213
} else {
214-
return new Polynomial(p1.variable,{0:1},this.modulo);
214+
return new Polynomial(this.variable,{0:1},this.modulo);
215215
}
216216
}
217217

0 commit comments

Comments
 (0)