diff --git a/src/codegen/codegen_neuron_cpp_visitor.cpp b/src/codegen/codegen_neuron_cpp_visitor.cpp index d772a5700..a22a82a66 100644 --- a/src/codegen/codegen_neuron_cpp_visitor.cpp +++ b/src/codegen/codegen_neuron_cpp_visitor.cpp @@ -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)", diff --git a/src/codegen/codegen_neuron_cpp_visitor.hpp b/src/codegen/codegen_neuron_cpp_visitor.hpp index 5619cf971..a4984b4ff 100644 --- a/src/codegen/codegen_neuron_cpp_visitor.hpp +++ b/src/codegen/codegen_neuron_cpp_visitor.hpp @@ -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 */