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
{{ message }}
Repository navigation
mod.linearize() returns wrong matrix on second call #212
If two models are loaded and linearized, only the first call of linearize() returns the correct result. All following calls will return the first call's result.
The result of the second linearization (mod2.linearize) should be [[[0, 1], [-0.730936067860485, -0.248180066111424]], [], [], []] but it only returns that after a kernel restart and when mod2 is executed first.
Activity
arun3688 commentedon Apr 30, 2024
@martinscripts the issue is fixed with this commit 891528c, now i can get the correct results
please update your pip package by
python -m pip install -U https://github.com/OpenModelica/OMPython/archive/master.zipmartinscripts commentedon Apr 30, 2024
Thanks @arun3688.
I had to
pip uninstall OMPythonand then
pip install git+https://github.com/OpenModelica/OMPython.git/@masterand now it works.