-
Notifications
You must be signed in to change notification settings - Fork 1
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
Error on execution of doc example #146
Comments
Thanks for the report. Probably because 1.9 is no longer officially supported, the new LTS is 1.10. edit: I'll do some test on 1.9 and I'll come back to you |
I just tried to run the motor exemple in the manual on Julia 1.9, and there is no error. Are you using the last stable version of the package (v1.1.4) ? |
Weird I tested it today and now I can reproduce. I'll investigate on that. |
Ok yes this is a compatibility issue. You cannot use the last stable version of ModelPredictiveControl.jl since Julia 1.9 is no longer supported. You have two choices: installing v1.0.1 version of this package: using Pkg; Pkg.add(name="ModelPredictiveControl", version="1.0.1") or updating Julia to 1.10 or newer. This can be done easily with |
@pekpuglia, is the issue persisting with one of the two workarounds ? |
Hello, thank you for your responses, I still haven't had the time to get back to this. Maybe by the end of the week, but this looks good. Will try migrating to julia 1.10. |
Hi, switched to julia 1.10, works like a charm. Maybe add a compat line in Project.toml? |
Yes, I added the line in the last version of the package (v1.2.0). |
I tried to run this example and got a giant error at
sim!
, which begins with:The error appears to come from this line:
@. xcur = x
I'm using Julia 1.9.
The text was updated successfully, but these errors were encountered: