Commit 02987e4c authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixing isDescending function.

parent edc7392b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -210,7 +210,7 @@ template< typename Array >
bool isDescending( const Array& arr)
{
   using Value = typename Array::ValueType;
   return isSorted( arr, [] __cuda_callable__( const Value& a, const Value& b ) { return a < b; });
   return isSorted( arr, [] __cuda_callable__( const Value& a, const Value& b ) { return a > b; });
}

   } // namespace Algorithms