Skip to content

Commit

Permalink
set [[maybe_unused]] attribute on mySys (kokkos#2355)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson authored Oct 4, 2024
1 parent 99fc540 commit 6ca8116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ode/unit_test/Test_ODE_BDF.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ void update_D(const int order, const scalar_type factor, const mat_type& coeffs,
template <class device_type, class scalar_type>
void test_Nordsieck() {
using execution_space = Kokkos::HostSpace;
StiffChemistry mySys{};
[[maybe_unused]] StiffChemistry mySys{};

Kokkos::View<scalar_type**, execution_space> R("coeffs", 6, 6), U("coeffs", 6, 6);
Kokkos::View<scalar_type**, execution_space> D("D", 8, mySys.neqs), tempD("tmp", 8, mySys.neqs);
Expand Down

0 comments on commit 6ca8116

Please sign in to comment.