aboutsummaryrefslogtreecommitdiff
path: root/src/patch/ghost_zone.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/patch/ghost_zone.cc')
-rw-r--r--src/patch/ghost_zone.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/patch/ghost_zone.cc b/src/patch/ghost_zone.cc
index 801132c..6f10b76 100644
--- a/src/patch/ghost_zone.cc
+++ b/src/patch/ghost_zone.cc
@@ -24,12 +24,11 @@
#include <stdlib.h>
#include <limits.h>
#include <math.h>
-#include <algorithm>
#include "cctk.h"
+#include "config.h"
#include "stdc.h"
-#include "config.hh"
#include "../jtutil/util.hh"
#include "../jtutil/array.hh"
@@ -426,8 +425,10 @@ return max_par_adjacent_ghost_zone().is_symmetry()
void interpatch_ghost_zone::finish_setup(int interp_handle,
int interp_par_table_handle)
{
-min_other_iperp_ = std::min(other_iperp(min_iperp()), other_iperp(max_iperp()));
-max_other_iperp_ = std::max(other_iperp(min_iperp()), other_iperp(max_iperp()));
+min_other_iperp_ = jtutil::min(other_iperp(min_iperp()),
+ other_iperp(max_iperp()));
+max_other_iperp_ = jtutil::max(other_iperp(min_iperp()),
+ other_iperp(max_iperp()));
//