From 737235b0e507f0b459ae907ca0dda9f7ed595198 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Wed, 21 Aug 2013 13:59:18 -0400 Subject: CarpetInterp2: Explicitly convert values to CCTK_REAL --- Carpet/CarpetInterp2/src/fasterp.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Carpet/CarpetInterp2/src/fasterp.cc b/Carpet/CarpetInterp2/src/fasterp.cc index 167af0e2b..be785ae52 100644 --- a/Carpet/CarpetInterp2/src/fasterp.cc +++ b/Carpet/CarpetInterp2/src/fasterp.cc @@ -605,8 +605,8 @@ namespace CarpetInterp2 { rvect const offset = iloc.offset - rvect(iorigin); //cout << "Left " << iorigin << " " << iloc.offset << " " << offset << endl; // Ensure that interpolation point is between second and third point - assert (all (offset >= 1.0 and - offset <= 2.0)); + assert (all (offset >= CCTK_REAL(1.0) and + offset <= CCTK_REAL(2.0))); for (int d=0; d= 0.0 and - offset <= 1.0)); + assert (all (offset >= CCTK_REAL(0.0) and + offset <= CCTK_REAL(1.0))); for (int d=0; d