You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It has been introduced with issue #37. Previous version was steps = random.sample((-1, +1)*n, n)
I'll revert to previous version. According to Python documentation it is equivalent to a shuffle.
Section 1.2 declares Python version 3.5.2 however section 2.1 "vectorized approach" uses random.choices() function which was introduced in Python 3.6.
https://docs.python.org/3.6/library/random.html#random.choices
The text was updated successfully, but these errors were encountered: