Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce warnings and errors #3285

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading