Commit 49839f6a authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed formatting in reduce.h and removed unused includes

parent a3f0ad65
Loading
Loading
Loading
Loading
+10 −9
Original line number Diff line number Diff line
@@ -15,9 +15,6 @@
#include <utility>  // std::pair, std::forward

#include <TNL/Functional.h>  // extension of STL functionals for reduction
#include <TNL/Devices/Sequential.h>
#include <TNL/Devices/Host.h>
#include <TNL/Devices/Cuda.h>
#include <TNL/Algorithms/detail/Reduction.h>

namespace TNL {
@@ -78,7 +75,11 @@ Result reduce( const Index begin,
               Reduction&& reduction,
               const Result& zero )
{
    return detail::Reduction< Device >::reduce( begin, end, std::forward< Fetch >( fetch ), std::forward< Reduction >( reduction ), zero );
   return detail::Reduction< Device >::reduce( begin,
                                               end,
                                               std::forward< Fetch >( fetch ),
                                               std::forward< Reduction >( reduction ),
                                               zero );
}

/**