-
-
Notifications
You must be signed in to change notification settings - Fork 880
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
refactor: convert mersenne into a class #530
refactor: convert mersenne into a class #530
Conversation
Codecov Report
@@ Coverage Diff @@
## main #530 +/- ##
=======================================
Coverage 99.34% 99.34%
=======================================
Files 1919 1919
Lines 176315 176364 +49
Branches 904 903 -1
=======================================
+ Hits 175158 175208 +50
+ Misses 1101 1100 -1
Partials 56 56
|
@Shinigami92 can you confirm that |
I guess I fked up the method scoping (?). I'm gonna investigate this. |
Yes, it could be that this is not used, BUT maybe it is something like a global weird thing that does any magic sideeffect 😬 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had a first quick look and LGTM, will approve later when I review deeper
Maybe you will also like to improve some stuff
That's why I was asking if you could checkout my branch where I removed it since on my machine it works fine after removing. Or is there a way to trigger the CI pipeline manually on a specific branch? |
The CI pipeline will be triggered when you open a PR. Just do that and we can close the PR if not needed. |
From the CI results in #531 I can confirm that removing the file scoped variable Will remove it now add the removal to this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why the codecov/patch
hits so hard here, but the rewrite looks good to me 🤷
Uhm... 👀 I don't want to steel credits for that.
|
I'm currently at work. Will fix this afternoon. |
I'm just getting |
@Shinigami92 Everything looks good to me: |
Cool. That worked. |
Created in relation to #280.
Converted
MersenneTwister19937
function to a js class declaration.Things I want to change but need approval:
dbg
in line 54 since it is not used anywhere