Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

double number generator throws error #269

Open
thatsmesasha opened this issue Apr 26, 2018 · 0 comments
Open

double number generator throws error #269

thatsmesasha opened this issue Apr 26, 2018 · 0 comments

Comments

@thatsmesasha
Copy link

I'm trying to generate random number between 0 and 1 using:

jsc.number(0, 1)

But it throws this error:

TypeError: random takes one or two integer arguments
      at RC4.random (node_modules/rc4/rc4.js:105:13)
      at randomInteger (node_modules/jsverify/lib/random.js:20:14)
      at Object.generator (node_modules/jsverify/lib/primitive.js:228:15)
      at ./node_modules/jsverify/lib/jsverify.js:239:50
      at Array.map (<anonymous>)
      at ./node_modules/jsverify/lib/jsverify.js:239:18
      at loop (node_modules/jsverify/lib/jsverify.js:316:26)
      at check (node_modules/jsverify/lib/jsverify.js:332:34)
      at Object.checkThrow [as assert] (node_modules/jsverify/lib/jsverify.js:354:34)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant