diff --git a/Loop/src/loop.hxx b/Loop/src/loop.hxx index 50543865a..41018dcdf 100644 --- a/Loop/src/loop.hxx +++ b/Loop/src/loop.hxx @@ -450,7 +450,7 @@ public: } #endif - loop_box_boundary(f, imin, imax, inormal); + loop_box_boundary(imin, imax, inormal, f); } } // if rank } diff --git a/Loop/src/loop_device.hxx b/Loop/src/loop_device.hxx index 4c256a2da..da4854a87 100644 --- a/Loop/src/loop_device.hxx +++ b/Loop/src/loop_device.hxx @@ -264,8 +264,8 @@ public: #if 0 // Loop over all outer ghost points. This includes ghost edges/corners on // non-ghost faces. Loop over faces first, then edges, then corners. - template + template inline CCTK_ATTRIBUTE_ALWAYS_INLINE void loop_ghosts_inclusive_device(const vect &group_nghostzones, const F &f) const { @@ -313,8 +313,8 @@ public: imax[d] = std::min(tmax[d], imax[d]); } - loop_box_boundary_device( imin, imax, - inormal); + loop_box_boundary_device(imin, imax, + inormal, f); } } // if rank }