Skip to content

Commit

Permalink
remove duplicated TFEL_HOST_DEVICE
Browse files Browse the repository at this point in the history
  • Loading branch information
thelfer committed Nov 8, 2023
1 parent 52526fd commit 73852df
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/TFEL/Math/Stensor/StensorConcept.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ namespace tfel::math {
* \param[in] s: symmetric tensor
*/
template <typename StensorType>
TFEL_HOST_DEVICE TFEL_HOST_DEVICE constexpr std::enable_if_t<
TFEL_HOST_DEVICE constexpr std::enable_if_t<
implementsStensorConcept<StensorType>(),
typename tfel::typetraits::AbsType<numeric_type<StensorType>>::type>
abs(const StensorType&);
Expand All @@ -93,7 +93,7 @@ namespace tfel::math {
* \param[in] s: symmetric tensor
*/
template <typename StensorType>
TFEL_HOST_DEVICE TFEL_MATH_INLINE TFEL_HOST_DEVICE constexpr std::enable_if_t<
TFEL_HOST_DEVICE TFEL_MATH_INLINE constexpr std::enable_if_t<
implementsStensorConcept<StensorType>(),
numeric_type<StensorType>>
trace(const StensorType&);
Expand All @@ -111,7 +111,7 @@ namespace tfel::math {
* \return the deviator of a symmetric tensor
*/
template <typename StensorType>
TFEL_HOST_DEVICE TFEL_HOST_DEVICE constexpr std::enable_if_t<
TFEL_HOST_DEVICE constexpr std::enable_if_t<
implementsStensorConcept<StensorType>(),
EvaluationResult<StensorType>>
deviator(const StensorType&);
Expand All @@ -130,7 +130,7 @@ namespace tfel::math {
* \param[in] s: argument
*/
template <typename StensorResultType, typename StensorType>
TFEL_HOST_DEVICE TFEL_HOST_DEVICE constexpr std::enable_if_t<
TFEL_HOST_DEVICE constexpr std::enable_if_t<
(implementsStensorConcept<StensorResultType>() &&
implementsStensorConcept<StensorType>() &&
isAssignableTo<typename ComputeUnaryResult<numeric_type<StensorType>,
Expand All @@ -145,7 +145,7 @@ namespace tfel::math {
* \param[in] s: argument
*/
template <typename StensorResultType, typename StensorType>
TFEL_HOST_DEVICE TFEL_HOST_DEVICE constexpr std::enable_if_t<
TFEL_HOST_DEVICE constexpr std::enable_if_t<
(implementsStensorConcept<StensorResultType>() &&
implementsStensorConcept<StensorType>() &&
isAssignableTo<typename ComputeUnaryResult<numeric_type<StensorType>,
Expand Down

0 comments on commit 73852df

Please sign in to comment.