-
Notifications
You must be signed in to change notification settings - Fork 16
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
Apply user_functions to vecFcode too #935
Conversation
Logfiles from GitLab pipeline #75392 (:white_check_mark:) have been uploaded here! Status and direct links: |
may you add a CI test that crashes with the previous version? It should be simple: with sympy 1.9 |
This patch is not fixing this bug. But the bug that not inlined functions are not found. |
ok, it was another bug. I sincerly do not know how this impacts nmodl. I do not know what it should do. I think you need someone else for the review |
Without the patch, the following file fail
Because functions
And our internal parser don't know C comments |
it looks like it actually solved the problem. Are you sure to the left you do not have |
That's my understanding as well. By providing @alkino : about the failing mod file we had - maybe we can add that as a unit test? (in the unit test, we will not run Inline visitor and then it should cover the use case) |
When functions inside solve block are not inlined sympy cannot find them. The problem is already fixed for vecJcode, do the same.
ddabeec
to
4e98736
Compare
Logfiles from GitLab pipeline #76033 (:white_check_mark:) have been uploaded here! Status and direct links: |
e708238
to
27e10b6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can merge #937 to this branch first?
When functions inside solve block are not inlined sympy cannot find them. The problem is already fixed for vecJcode, do the same.
Logfiles from GitLab pipeline #76067 (:no_entry:) have been uploaded here! Status and direct links: |
Logfiles from GitLab pipeline #76073 (:white_check_mark:) have been uploaded here! Status and direct links: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
When functions inside solve block are not inlined sympy cannot find them. The problem is already fixed for vecJcode, do the same.
Related to #927