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

Passing Time_Interval as a non-2D-vector in the example scripts #1

Open
sh-cau opened this issue Jan 20, 2020 · 0 comments
Open

Passing Time_Interval as a non-2D-vector in the example scripts #1

sh-cau opened this issue Jan 20, 2020 · 0 comments

Comments

@sh-cau
Copy link

sh-cau commented Jan 20, 2020

In the MATLODE_Example_ERK_ADJ_Integrator script, if you change
Time_Interval = [0 20]
to, e.g.,
Time_Interval = [0 10 20]
an error is thrown. I think this is because of
OPTIONS.Quadrature = Quadrature;
in MATLODE_ERK_ADJ_Integrator in line 171 (and possibly others). There, the function handle is overwritten with the numeric integration value after the first for-loop execution. I am not sure how to fix this appropriately.

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