Skip to content

Commit

Permalink
fixup: abort
Browse files Browse the repository at this point in the history
  • Loading branch information
streeve committed Feb 11, 2025
1 parent acb15d0 commit f0d3789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CabanaPD_ForceModels.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ struct ForceModels
if constexpr ( N + 1 < std::tuple_size_v<tuple_type> )
return apply<N + 1>( t, tag, std::forward<Args>( args )... );
else
throw std::runtime_error( "Invalid model index." );
Kokkos::abort( "Invalid model index." );
}

auto horizon( const int ) { return delta; }
Expand Down

0 comments on commit f0d3789

Please sign in to comment.