aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar David Grote <grote1@llnl.gov> 2020-11-05 13:45:22 -0800
committerGravatar GitHub <noreply@github.com> 2020-11-05 13:45:22 -0800
commite7f475ae73a84d6d7f155f12d4be2ebd79e708a6 (patch)
tree611daccbe5737da468ffa695b37c929c8d9ded77
parentb04b132f39606a37bf65b8acbedfb2aec81cef57 (diff)
downloadWarpX-e7f475ae73a84d6d7f155f12d4be2ebd79e708a6.tar.gz
WarpX-e7f475ae73a84d6d7f155f12d4be2ebd79e708a6.tar.zst
WarpX-e7f475ae73a84d6d7f155f12d4be2ebd79e708a6.zip
Fix includes in RhoFunctor.cpp (#1498)
-rw-r--r--Source/Diagnostics/ComputeDiagFunctors/RhoFunctor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/ComputeDiagFunctors/RhoFunctor.cpp b/Source/Diagnostics/ComputeDiagFunctors/RhoFunctor.cpp
index e48703e91..f1dab4157 100644
--- a/Source/Diagnostics/ComputeDiagFunctors/RhoFunctor.cpp
+++ b/Source/Diagnostics/ComputeDiagFunctors/RhoFunctor.cpp
@@ -2,7 +2,7 @@
#include "RhoFunctor.H"
#include "Utils/CoarsenIO.H"
-#ifdef WARPX_DIM_RZ
+#if (defined WARPX_DIM_RZ) && (defined WARPX_USE_PSATD)
#include "FieldSolver/SpectralSolver/SpectralFieldData.H"
#endif