aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetInterp/src
diff options
context:
space:
mode:
authorschnetter <>2004-03-08 08:12:00 +0000
committerschnetter <>2004-03-08 08:12:00 +0000
commitadfbe993de5b7887321d08eee9a8dc2954202228 (patch)
treee6529d1f0980a33ba1d9c48cdf5ad251909fe550 /Carpet/CarpetInterp/src
parent0a75afd7b744645f57ececb6d1f708633a13cfcf (diff)
Change operator[] to at()
darcs-hash:20040308081244-07bb3-353fed99bc85bc4ba6c8aa6f6c9739a31831ffa3.gz
Diffstat (limited to 'Carpet/CarpetInterp/src')
-rw-r--r--Carpet/CarpetInterp/src/interp.cc6
1 files changed, 3 insertions, 3 deletions
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 <assert.h>
#include <math.h>
@@ -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) {