Skip to content

Commit

Permalink
fixes for min
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr-Solovev committed Sep 24, 2024
1 parent 6a084c8 commit d852b18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/daal/src/services/service_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,13 @@ inline float infToBigValue(float arg)
}
}

template <typename T>
template <CpuType cpu, typename T>
inline const T & min(const T & a, const T & b)
{
return !(b < a) ? a : b;
}

template <typename T>
template <CpuType cpu, typename T>
inline const T & max(const T & a, const T & b)
{
return (a < b) ? b : a;
Expand Down

0 comments on commit d852b18

Please sign in to comment.