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 }}
This repository was archived by the owner on Jun 8, 2023. It is now read-only.
For some mod files like https://github.com/BlueBrain/CoreNeuron/blob/master/coreneuron/mechanism/mech/modfile/passive.mod the generated c++ code has an empty nrn_state function that doesn't have the PRCELLSTATE macro to update the v_unused variable of the mechanism similar to NMODL.
This has as a consequence on the prcellstate the v_unused variable for this mechanism to be different between mod2c and NMODL.
Instead of not printing anything in the nrn_state function, if the CORENRN_ENABLE_PRCELLSTATE CMake variable is set, modc should print the code needed to update the v_unused variable.