commit b29232267b9fa8da7e658abfd28b9dc5ae259c30
parent 5209598f8533e33dfa88f5344beed3262962e68c
Author: Gavin Atkinson <gvnatknsn@protonmail.com>
Date: Wed, 11 Jul 2018 15:11:04 -0700
missed a few consts
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/index.js b/index.js
@@ -195,7 +195,7 @@ const teil = vip => {
const rynd = (n, l, r) => {
l = Math.floor(l)
const res = [r, 0]
- const m = n % 2 == 0
+ const m = isEven(n)
? new bnjs(65535)
: new bnjs(65536)
@@ -209,8 +209,8 @@ const rynd = (n, l, r) => {
const rund = (n, l, r) => {
l = Math.floor(l)
- var res = [r, 0]
- const m = n % 2 == 0
+ const res = [r, 0]
+ const m = isEven(n)
? new bnjs(65535)
: new bnjs(65536)
const h = new bnjs(muk(raku[n], 2, r))