-
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
Issue with TABLE statement definitions #771
Comments
Without a reproducer, may be we can check the TABLE related generated code from mod2c and see if it is similar to NMODL? After TABLE there are no variables specified and I am wondering if there is something related to it. |
The problem here is that in mod2c the code is quite different if the table is inside a funciton or inside a procedure. Second problem is that inside procedure there is no return but in function we should return the value of the table. |
To test this and reproduce the issue:
[1] To install
[2] Do the following edits in
and these to
To run the sim:
|
Above issues are now fixed with #916 . Not sure whether this is related to the Edit: |
Revisiting this again I see the following differences between
Both differences appear in the |
Above issue is related to this BlueBrain/mod2c#83. |
One of the netpyne mod files https://github.com/Neurosim-lab/netpyne/blob/4e6078d88b832f391dd34aaccb77e6dfeaaaaf9d/examples/evolCell/mod/ch_CavL.mod includes a table definition that seems to be the reason why
Inf
andNaN
values are generated after the first timestep of the simulation.With prcellstate I see:
and here is the instance struct generated to find the corresponding variables to the above:
TODO:
The text was updated successfully, but these errors were encountered: