Skip to content

Commit

Permalink
Remove method_name
Browse files Browse the repository at this point in the history
It already exists in `CodegenCppVisitor`
  • Loading branch information
JCGoran committed Oct 28, 2024
1 parent 361172c commit 25ff744
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions src/codegen/codegen_neuron_cpp_visitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2646,11 +2646,6 @@ CodegenCppVisitor::ParamVector CodegenNeuronCppVisitor::cvode_update_parameters(
}


std::string CodegenNeuronCppVisitor::method_name(const std::string& name) {
return fmt::format("{}_{}", name, info.mod_suffix);
}


/* print the function returning the # of ODEs to solve */
void CodegenNeuronCppVisitor::print_cvode_count() {
printer->fmt_push_block("static constexpr int {}(int _type)",
Expand Down
2 changes: 0 additions & 2 deletions src/codegen/codegen_neuron_cpp_visitor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -792,8 +792,6 @@ class CodegenNeuronCppVisitor: public CodegenCppVisitor {

void print_cvode_setup(const std::string& setup_name, const std::string& update_name);

std::string method_name(const std::string& name);


/****************************************************************************************/
/* Overloaded visitor routines */
Expand Down

0 comments on commit 25ff744

Please sign in to comment.