Skip to content

Commit 36aa3e9

Browse files
authored
Reduce::MinMax: fix function name (#4704)
1 parent 8b1df67 commit 36aa3e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/Base/AMReX_Reduce.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ T Max (N n, T const* v, T init_val = std::numeric_limits<T>::lowest())
12351235

12361236
template <typename T, typename N, typename F,
12371237
typename M=std::enable_if_t<std::is_integral_v<N>> >
1238-
std::pair<T,T> Min (N n, F const& f)
1238+
std::pair<T,T> MinMax (N n, F const& f)
12391239
{
12401240
T r_min = std::numeric_limits<T>::max();
12411241
T r_max = std::numeric_limits<T>::lowest();

0 commit comments

Comments
 (0)