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
There is an inconsistency between the data only restrictions for the arguments to the ODE integrators between what is described in the manual and what is actually implemented in Stan.
Description:
Currently, the third and fourth arguments to all ODE integrators are enforced to be data only by the Stan type checker. However, nothing is said about that in the manual.
Both should be correct, according to the manual, but the Stan compiler complains that the third/fourth argument to ODE solvers should be data only. The same happens for other ODE solvers.
Current Output:
The current output. Knowing what is the current behavior is useful.
Expected Output:
I do not know which of the two is correct, but the inconsistency should be resolved.
Current Version:
v2.18.0
The text was updated successfully, but these errors were encountered:
That's right---the start time (3rd arg) and requested solution times (4th arg) need to be data.
That's going to change as soon as the PR to allow parameter start times gets merged.
On Dec 12, 2018, at 10:17 AM, Matthijs Vákár ***@***.***> wrote:
From looking at the Stan Math source, I conclude that the manual is wrong in this case. The third and fourth arguments need to be data only.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Summary:
There is an inconsistency between the data only restrictions for the arguments to the ODE integrators between what is described in the manual and what is actually implemented in Stan.
Description:
Currently, the third and fourth arguments to all ODE integrators are enforced to be data only by the Stan type checker. However, nothing is said about that in the manual.
Reproducible Steps:
Try to compile the model
or
Both should be correct, according to the manual, but the Stan compiler complains that the third/fourth argument to ODE solvers should be data only. The same happens for other ODE solvers.
Current Output:
The current output. Knowing what is the current behavior is useful.
Expected Output:
I do not know which of the two is correct, but the inconsistency should be resolved.
Current Version:
v2.18.0
The text was updated successfully, but these errors were encountered: