Skip to content

Commit

Permalink
Address inspect tool
Browse files Browse the repository at this point in the history
Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
  • Loading branch information
SAtacker committed Feb 5, 2025
1 parent d317925 commit 6e839f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace hpx::parallel::detail {
rfa.unsafe_add(init);
rfa.renorm();
size_t count = 0;
T max_val = std::abs(std::numeric_limits<T>::min());
T max_val = std::abs((std::numeric_limits<T>::min)());
for (auto e = first; e != last; ++e)
{
T temp_max_val = std::abs(static_cast<T>(*e));
Expand Down Expand Up @@ -86,7 +86,7 @@ namespace hpx::parallel::detail {
rfa.zero();
rfa += init;
size_t count = 0;
T max_val = std::abs(std::numeric_limits<T>::min());
T max_val = std::abs((std::numeric_limits<T>::min)());
std::size_t partition_size_lim = 0;
for (auto e = first; partition_size_lim < partition_size;
partition_size_lim++, e++)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ namespace hpx {

#include <algorithm>
#include <cstddef>
#include <cstring>
#include <iterator>
#include <type_traits>
#include <utility>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <hpx/parallel/algorithms/reduce.hpp>
#include <hpx/parallel/algorithms/reduce_deterministic.hpp>

#include <iostream>
#include <numeric>
#include <random>
#include <vector>
Expand Down

0 comments on commit 6e839f9

Please sign in to comment.