Skip to content

Commit

Permalink
fix std::is_same
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Feb 9, 2024
1 parent 42e294b commit 4bf3f03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/pressio/solvers_nonlinear/solvers_predicates.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ template<typename T, typename ResidualType>
struct has_const_create_residual_method_return_result
<T, ResidualType,
std::enable_if_t<
::pressio::std::is_same<
std::is_same<
ResidualType,
decltype( std::declval<T const>().createResidual() )
>::value
Expand Down Expand Up @@ -120,7 +120,7 @@ template<class T, class JacobianType>
struct has_const_create_jacobian_method_return_result
<T, JacobianType,
std::enable_if_t<
::pressio::std::is_same<
std::is_same<
JacobianType,
decltype( std::declval<T const>().createJacobian() )
>::value
Expand Down

0 comments on commit 4bf3f03

Please sign in to comment.