Skip to content

Commit

Permalink
essential whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Oct 30, 2024
1 parent d8a9144 commit 9f3f497
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/codegen/codegen_neuron_cpp_visitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@ CodegenCppVisitor::ParamVector CodegenNeuronCppVisitor::internalthreadargs_param
return internal_method_parameters();
}


CodegenCppVisitor::ParamVector CodegenNeuronCppVisitor::threadargs_parameters() {
return {{"", "Memb_list*", "", "_ml"},
{"", "size_t", "", "_iml"},
Expand All @@ -625,6 +626,7 @@ CodegenCppVisitor::ParamVector CodegenNeuronCppVisitor::threadargs_parameters()
{"", "NrnThread*", "", "_nt"}};
}


/// TODO: Edit for NEURON
std::string CodegenNeuronCppVisitor::nrn_thread_arguments() const {
return {};
Expand Down Expand Up @@ -755,6 +757,7 @@ std::vector<std::string> CodegenNeuronCppVisitor::print_verbatim_setup(
return macros_defined;
}


void CodegenNeuronCppVisitor::print_verbatim_cleanup(
const std::vector<std::string>& macros_defined) {
for (const auto& macro: macros_defined) {
Expand All @@ -763,6 +766,7 @@ void CodegenNeuronCppVisitor::print_verbatim_cleanup(
printer->add_line("// End of cleanup for VERBATIM");
}


std::string CodegenNeuronCppVisitor::process_verbatim_text(const std::string& verbatim) {
parser::CDriver driver;
driver.scan_string(verbatim);
Expand Down

0 comments on commit 9f3f497

Please sign in to comment.