From bd91d582d9f720ec5ebd1f4f7ca94a25638dff11 Mon Sep 17 00:00:00 2001 From: Nicolas Cornu Date: Thu, 12 Dec 2024 09:44:59 +0100 Subject: [PATCH] Reduce warnings and errors --- src/neuron/container/soa_container.hpp | 2 +- src/nrnpython/rxd.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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); }