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

Bound the number of iterations #2

Open
sergey-goncharov opened this issue Nov 21, 2022 · 0 comments
Open

Bound the number of iterations #2

sergey-goncharov opened this issue Nov 21, 2022 · 0 comments

Comments

@sergey-goncharov
Copy link

There is a parameter for the plot length, but that does not help in case of Zeno-behaviour. I've tried to experiment with the program

v:=5; p:=10; e:=-0.5;
while true do {
  v'=-9.8, p'=v until_0.01 p<0 /\ v<0;
  v:=-0.5*v; 
}

which strangely triggers different kinds of errors from run to run, including parsing errors, but also Maximum call stack size exceeded. This is expected, but maybe the number of iterations can also be limited with a parameter then?

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