BlueBrain / nmodl

Code Generation Framework For NEURON MODeling Language
https://bluebrain.github.io/nmodl/
Apache License 2.0
57 stars 15 forks source link

SOLVE a PROCEDURE. #1521

Closed 1uc closed 1 month ago

1uc commented 1 month ago

From inspecting NOCMODL generated code it seems that:

SOLVE proc

where proc is some procedure, simply calls the procedure and checks if it returned an error code. This PR only implements the call part and leaves the checking part for the future.

1uc commented 1 month ago

It should be checking the return code of the procedure. However, that requires some slightly lengthy changes, which I'd like to postpone. This allows us to compile mod files found in the nrn tests and should be correct for any correct runs.

1uc commented 1 month ago

See #1526 for followup work.