diff --git a/src/Omega_h_bbox.cpp b/src/Omega_h_bbox.cpp index 52c45244b..8fb3252bc 100644 --- a/src/Omega_h_bbox.cpp +++ b/src/Omega_h_bbox.cpp @@ -10,10 +10,10 @@ template< int N > struct bboxWrap { BBox box; - KOKKOS_INLINE_FUNCTION // Default constructor - Initialize to 0's + KOKKOS_INLINE_FUNCTION // Default constructor bboxWrap() { - box.min = max_float_vector(); - box.max = min_float_vector(); + box.min = max_vector(); + box.max = min_vector(); } KOKKOS_INLINE_FUNCTION // Copy Constructor bboxWrap(const bboxWrap & rhs) { diff --git a/src/Omega_h_vector.hpp b/src/Omega_h_vector.hpp index f2a718927..984c12b63 100644 --- a/src/Omega_h_vector.hpp +++ b/src/Omega_h_vector.hpp @@ -151,13 +151,13 @@ OMEGA_H_INLINE Vector zero_vector() OMEGA_H_NOEXCEPT { } template -OMEGA_H_INLINE Vector max_float_vector() OMEGA_H_NOEXCEPT { - return fill_vector(Kokkos::Experimental::finite_max_v); +OMEGA_H_INLINE Vector max_vector() OMEGA_H_NOEXCEPT { + return fill_vector(Kokkos::Experimental::finite_max_v); } template -OMEGA_H_INLINE Vector min_float_vector() OMEGA_H_NOEXCEPT { - return fill_vector(Kokkos::Experimental::finite_min_v); +OMEGA_H_INLINE Vector min_vector() OMEGA_H_NOEXCEPT { + return fill_vector(Kokkos::Experimental::finite_min_v); } /* Moore-Penrose pseudo-inverse of a vector */