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 has been 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.
The text was updated successfully, but these errors were encountered:
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 thePRCELLSTATE
macro to update thev_unused
variable of the mechanism similar toNMODL
.This has as a consequence on the
prcellstate
thev_unused
variable for this mechanism to be different betweenmod2c
andNMODL
.Instead of not printing anything in the
nrn_state
function, if theCORENRN_ENABLE_PRCELLSTATE
CMake variable is set,modc
should print the code needed to update thev_unused
variable.The text was updated successfully, but these errors were encountered: