aboutsummaryrefslogtreecommitdiff
path: root/Python/WarpXProb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Python/WarpXProb.cpp')
-rw-r--r--Python/WarpXProb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/WarpXProb.cpp b/Python/WarpXProb.cpp
index c1534af68..722b2931e 100644
--- a/Python/WarpXProb.cpp
+++ b/Python/WarpXProb.cpp
@@ -9,7 +9,7 @@
void
WarpX::InitLevelData (int lev)
{
- for (int i = 0; i < BL_SPACEDIM; ++i) {
+ for (int i = 0; i < 3; ++i) {
current[lev][i]->setVal(0.0);
Efield[lev][i]->setVal(0.0);
Bfield[lev][i]->setVal(0.0);