aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/BoostedFrameDiagnostic.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-05-16 14:11:37 -0700
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2019-05-16 14:11:37 -0700
commit5521755ae5aa4df4cfbef1379a63119fce77da2c (patch)
tree64cfac585eeb776ec75eb2b4ca2f41e6780289fb /Source/Diagnostics/BoostedFrameDiagnostic.cpp
parent415ba8efd434f1501d943def457fb0ed1555a7df (diff)
downloadWarpX-5521755ae5aa4df4cfbef1379a63119fce77da2c.tar.gz
WarpX-5521755ae5aa4df4cfbef1379a63119fce77da2c.tar.zst
WarpX-5521755ae5aa4df4cfbef1379a63119fce77da2c.zip
fix typo for hdf5
Diffstat (limited to 'Source/Diagnostics/BoostedFrameDiagnostic.cpp')
-rw-r--r--Source/Diagnostics/BoostedFrameDiagnostic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/BoostedFrameDiagnostic.cpp b/Source/Diagnostics/BoostedFrameDiagnostic.cpp
index b7c771ce1..5be2c78fb 100644
--- a/Source/Diagnostics/BoostedFrameDiagnostic.cpp
+++ b/Source/Diagnostics/BoostedFrameDiagnostic.cpp
@@ -937,7 +937,7 @@ LabSnapShot(Real t_lab_in, Real t_boost, RealBox prob_domain_lab,
{
if (WarpX::do_boosted_frame_fields)
{
- for (int comp = 0; comp ncomp_to_dump; ++comp) {
+ for (int comp = 0; comp < ncomp_to_dump; ++comp) {
output_create_field(file_name, mesh_field_names_[comp],
prob_ncells_lab_[0],
#if ( AMREX_SPACEDIM == 3 )