Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix last reference of 0n
  • Loading branch information
chaitanyapotti committed Apr 21, 2021
commit 348dd2361ad6d4c35c8dbfae5c953dac61442a2a
2 changes: 1 addition & 1 deletion src/f1field_native.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default class ZqField {
[t, newt] = [newt, t-q*newt];
[r, newr] = [newr, r-q*newr];
}
if (t<0n) t += this.p;
if (t<this.zero) t += this.p;
return t;
}

Expand Down