From adfbe993de5b7887321d08eee9a8dc2954202228 Mon Sep 17 00:00:00 2001 From: schnetter <> Date: Mon, 8 Mar 2004 08:12:00 +0000 Subject: Change operator[] to at() darcs-hash:20040308081244-07bb3-353fed99bc85bc4ba6c8aa6f6c9739a31831ffa3.gz --- Carpet/CarpetInterp/src/interp.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Carpet/CarpetInterp/src') diff --git a/Carpet/CarpetInterp/src/interp.cc b/Carpet/CarpetInterp/src/interp.cc index 4df45e41d..4c74c67c0 100644 --- a/Carpet/CarpetInterp/src/interp.cc +++ b/Carpet/CarpetInterp/src/interp.cc @@ -1,4 +1,4 @@ -// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetInterp/src/interp.cc,v 1.23 2004/02/27 16:22:05 schnetter Exp $ +// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetInterp/src/interp.cc,v 1.24 2004/03/08 09:12:44 schnetter Exp $ #include #include @@ -21,7 +21,7 @@ #include "interp.hh" extern "C" { - static char const * const rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetInterp/src/interp.cc,v 1.23 2004/02/27 16:22:05 schnetter Exp $"; + static char const * const rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetInterp/src/interp.cc,v 1.24 2004/03/08 09:12:44 schnetter Exp $"; CCTK_FILEVERSION(Carpet_CarpetInterp_interp_cc); } @@ -408,7 +408,7 @@ namespace CarpetInterp { npoints, interp_coords_type_code, &tmp_interp_coords[0], N_input_arrays, &lsh[0], - &input_array_type_codes[0], &input_arrays[0], + &input_array_type_codes.at(0), &input_arrays[0], N_output_arrays, output_array_type_codes, &tmp_output_arrays.at(tl)[0]); if (ierr) { -- cgit v1.2.3