Skip to content

Commit

Permalink
Merge pull request #38 from libmir/9il-patch-1
Browse files Browse the repository at this point in the history
Update dub.json
  • Loading branch information
ShigekiKarita committed Apr 16, 2019
2 parents 7c9e10e + e92d2e5 commit d47d6b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dub.json
Expand Up @@ -7,7 +7,7 @@
],
"description": "numpy-like API wrappers of mir",
"dependencies": {
"mir-random": "~>2.0.0"
"mir-random": ">=2.0.0 <3.4.0"
},
"copyright": "Copyright © 2017, karita",
"license": "BSL-1.0",
Expand Down
2 changes: 1 addition & 1 deletion source/numir/random.d
Expand Up @@ -22,7 +22,7 @@ class RNG
{
synchronized(RNG.classinfo)
{
_rng = new Random(unpredictableSeed);
_rng = new Random(unpredictableSeed!size_t);
}
}
return *_rng;
Expand Down

0 comments on commit d47d6b5

Please sign in to comment.