Skip to content

Commit

Permalink
fix typo causing build error
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodk committed Feb 9, 2024
1 parent d1167d4 commit 073ebbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/codegen/codegen_neuron_cpp_visitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,8 @@ void CodegenNeuronCppVisitor::print_nrn_alloc() {
auto* const _ml = &_ml_real;
size_t const _iml{};
)CODE");
printer->fmt_line("assert(_nrn_mechanism_get_num_vars(_prop) == {});", codegen_float_variables_size());
printer->fmt_line("assert(_nrn_mechanism_get_num_vars(_prop) == {});",
codegen_float_variables.size());
if (float_variables_size()) {
printer->add_line("/*initialize range parameters*/");
for (const auto& var: info.range_parameter_vars) {
Expand Down

0 comments on commit 073ebbd

Please sign in to comment.