Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Dec 1, 2023
1 parent 4b3cfcf commit 0fff438
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/codegen/codegen_neuron_cpp_visitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,11 +454,14 @@ void CodegenNeuronCppVisitor::print_global_function_common_code(BlockType type,
}

void CodegenNeuronCppVisitor::print_nrn_init() {
printer->add_line("void nrn_init(_nrn_model_sorted_token const&, NrnThread*, Memb_list*, int) {}");
printer->add_line(
"void nrn_init(_nrn_model_sorted_token const&, NrnThread*, Memb_list*, int) {}");
}

void CodegenNeuronCppVisitor::print_nrn_jacob() {
printer->add_line("void nrn_jacob(_nrn_model_sorted_token const&, NrnThread* _nt, Memb_list* _ml_arg, int _type) {}");
printer->add_line(
"void nrn_jacob(_nrn_model_sorted_token const&, NrnThread* _nt, Memb_list* _ml_arg, int "
"_type) {}");
}

/// TODO: Edit for NEURON
Expand Down Expand Up @@ -492,7 +495,9 @@ void CodegenNeuronCppVisitor::print_nrn_state() {
}
codegen = true;

printer->add_line("void nrn_state(_nrn_model_sorted_token const& sorted_token, NrnThread* nt, Memb_list* ml, int type) {}");
printer->add_line(
"void nrn_state(_nrn_model_sorted_token const& sorted_token, NrnThread* nt, Memb_list* ml, "
"int type) {}");
/// TODO: Fill in

codegen = false;
Expand Down Expand Up @@ -542,7 +547,9 @@ void CodegenNeuronCppVisitor::print_nrn_cur() {

codegen = true;

printer->add_line("void nrn_cur(_nrn_model_sorted_token const& sorted_token, NrnThread* nt, Memb_list* ml, int type) {}");
printer->add_line(
"void nrn_cur(_nrn_model_sorted_token const& sorted_token, NrnThread* nt, Memb_list* ml, "
"int type) {}");
/// TODO: Fill in

codegen = false;
Expand Down

0 comments on commit 0fff438

Please sign in to comment.