diff --git a/src/neuron/container/soa_container.hpp b/src/neuron/container/soa_container.hpp index 57e8990572..c24ccb42dc 100644 --- a/src/neuron/container/soa_container.hpp +++ b/src/neuron/container/soa_container.hpp @@ -882,7 +882,7 @@ struct soa { template Callable for_each_tag_vector_impl(Callable callable) const { - Callable tmp_callable = std::get>(m_data).template for_each_vector( + Callable tmp_callable = std::get>(m_data).template for_each_vector<>( callable); return for_each_tag_vector_impl(tmp_callable); } diff --git a/src/nrnpython/rxd.cpp b/src/nrnpython/rxd.cpp index 584d9703fd..9ee5b222b3 100644 --- a/src/nrnpython/rxd.cpp +++ b/src/nrnpython/rxd.cpp @@ -477,11 +477,11 @@ static void mul(int nnonzero, } } -extern "C" NRN_EXPORT void set_setup(const fptr* setup_fn) { +extern "C" NRN_EXPORT void set_setup(fptr* setup_fn) { _setup = setup_fn; } -extern "C" NRN_EXPORT void set_initialize(const fptr* initialize_fn) { +extern "C" NRN_EXPORT void set_initialize(fptr* initialize_fn) { _initialize = initialize_fn; set_num_threads(NUM_THREADS); }