aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/gf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/src/gf.cc')
-rw-r--r--Carpet/CarpetLib/src/gf.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/gf.cc b/Carpet/CarpetLib/src/gf.cc
index 26fa00f38..50bb0f661 100644
--- a/Carpet/CarpetLib/src/gf.cc
+++ b/Carpet/CarpetLib/src/gf.cc
@@ -58,7 +58,7 @@ const data<T>* gf<T>::operator() (int tl, int rl, int c, int ml) const
assert (c>=0 and c<h.components(rl));
assert (ml>=0 and ml<h.mglevels());
assert (tl>=0 and tl<timelevels(ml, rl));
- return (const data<T>*)storage.at(ml).at(rl).at(c).at(tl);
+ return (const data<T>*)storage.AT(ml).AT(rl).AT(c).AT(tl);
}
template<typename T>
@@ -68,7 +68,7 @@ data<T>* gf<T>::operator() (int tl, int rl, int c, int ml)
assert (c>=0 and c<h.components(rl));
assert (ml>=0 and ml<h.mglevels());
assert (tl>=0 and tl<timelevels(ml, rl));
- return (data<T>*)storage.at(ml).at(rl).at(c).at(tl);
+ return (data<T>*)storage.AT(ml).AT(rl).AT(c).AT(tl);
}