8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
stop=
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
from steppyngstounes import CheckpointStepper for step in CheckpointStepper(start=0., stops=[1.414, 2.718, 3.142]): print(f"{step.begin} + {step.size} = {step.end}") _ = step.succeeded()
prints
0.0 + inf = inf
whereas
for step in CheckpointStepper(start=0., stops=[1.414, 2.718, 3.142], stop=4.): print(f"{step.begin} + {step.size} = {step.end}") _ = step.succeeded()
0.0 + 1.414 = 1.414 1.414 + 1.304 = 2.718 2.718 + 0.42399999999999993 = 3.142
The text was updated successfully, but these errors were encountered:
The problem is here, where end is np.inf by default (to not limit the stepper other than by the checkpoints).
end
np.inf
Sorry, something went wrong.
While fixing this, rename stops= to checkpoints= (with deprecation)
stops=
checkpoints=
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
prints
whereas
prints
The text was updated successfully, but these errors were encountered: