Skip to content

Commit

Permalink
Make format happy
Browse files Browse the repository at this point in the history
  • Loading branch information
iomaganaris committed Dec 4, 2023
1 parent 26174cc commit e93019b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/codegen/codegen_neuron_cpp_visitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,11 +400,12 @@ void CodegenNeuronCppVisitor::print_mechanism_register() {
printer->add_newline();

const auto compute_functions_parameters =
breakpoint_exist() ? fmt::format("{}, {}, {}",
nrn_cur_required() ? method_name(naming::NRN_CUR_METHOD) : "nullptr",
method_name(naming::NRN_JACOB_METHOD),
nrn_state_required() ? method_name(naming::NRN_STATE_METHOD) : "nullptr")
: "nullptr, nullptr, nullptr";
breakpoint_exist()
? fmt::format("{}, {}, {}",
nrn_cur_required() ? method_name(naming::NRN_CUR_METHOD) : "nullptr",
method_name(naming::NRN_JACOB_METHOD),
nrn_state_required() ? method_name(naming::NRN_STATE_METHOD) : "nullptr")
: "nullptr, nullptr, nullptr";
const auto register_mech_args = fmt::format("{}, {}, {}, {}, {}, {}",
get_channel_info_var_name(),
method_name(naming::NRN_ALLOC_METHOD),
Expand Down

0 comments on commit e93019b

Please sign in to comment.