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

Example accesses protected element #453

Open
casella opened this issue May 23, 2022 · 1 comment
Open

Example accesses protected element #453

casella opened this issue May 23, 2022 · 1 comment

Comments

@casella
Copy link

casella commented May 23, 2022

@mtiller, this report suggests that model ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent in your library actually tries to access protected elements. We introduced stricter checks in OpenModelica since 1.19.0, so this model stopped running there.

Please consider making that element public.

@fubari
Copy link

fubari commented Oct 28, 2024

The example ModelicaByExample.Components.LotkaVolterra.Examples.ThreeSpecies_Quiescent seems not to be working correctly for me, only finding the trivial solution due to not initializing the start value correctly.

PR #471 suggests adjusting the start value of population to a parameter variable (initial_population) instead of 10. With this change, all examples seem to work for me.

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

2 participants