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

bestN() function is inaccurate #9

Open
kirjavascript opened this issue Apr 9, 2018 · 0 comments
Open

bestN() function is inaccurate #9

kirjavascript opened this issue Apr 9, 2018 · 0 comments

Comments

@kirjavascript
Copy link
Owner

kirjavascript commented Apr 9, 2018

14:05:23 <+j`ey> oh ok
14:05:56 <+j`ey> [...times].splice(i, 5)
14:05:57 <+j`ey> what do
14:06:24 <+Kirjava> get 5 elements from index without changing the original array
14:06:57 <+j`ey> https://github.com/kirjavascript/kSim/blob/master/state/times.js#L71
14:07:00 <+j`ey> this look s wrong then?
14:07:06 <+j`ey> idk
14:07:30 <+Kirjava> nah
14:07:44 <+Kirjava> it gets an array of each possible average you could have
14:07:53 <+Kirjava> and leaves the original alone
14:08:24 <+j`ey> yeah but you splice 5
14:08:25 <+j`ey> not n
14:08:32 <+Kirjava> yea I think that's wrong 
14:08:33 <+Kirjava> :D
14:08:45 <+Kirjava> god damn it
14:08:58 <+j`ey> :)
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