Skip to content

Commit

Permalink
Reduce warnings and errors (#3285)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Cornu authored Dec 12, 2024
1 parent 45fb66a commit 5b6ff83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/neuron/container/soa_container.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ struct soa {

template <typename Callable, typename Tag, typename... RemainingTags>
Callable for_each_tag_vector_impl(Callable callable) const {
Callable tmp_callable = std::get<tag_index_v<Tag>>(m_data).template for_each_vector(
Callable tmp_callable = std::get<tag_index_v<Tag>>(m_data).template for_each_vector<>(
callable);
return for_each_tag_vector_impl<Callable, RemainingTags...>(tmp_callable);
}
Expand Down
4 changes: 2 additions & 2 deletions src/nrnpython/rxd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5b6ff83

Please sign in to comment.