BlueBrain / nmodl

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

Assign default value in PARAMETER block. #1262

Closed 1uc closed 5 months ago

1uc commented 6 months ago

A parameter can be assigned a value inside the PARAMETER block. If no value is assigned the default is 0.0.

This commit fixes a bug when no value was specified.

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 86.35%. Comparing base (0e69948) to head (f6b7522). Report is 1 commits behind head on master.

Files Patch % Lines
src/codegen/codegen_neuron_cpp_visitor.cpp 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1262 +/- ## ======================================= Coverage 86.35% 86.35% ======================================= Files 175 175 Lines 13214 13214 ======================================= Hits 11411 11411 Misses 1803 1803 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

bbpbuildbot commented 6 months ago

Logfiles from GitLab pipeline #210987 (:white_check_mark:) have been uploaded here!

Status and direct links: