Skip to content

Commit

Permalink
Ensure that E.z is there
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Jul 11, 2024
1 parent 69ca4e0 commit b44f0a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/14_toml_template.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void read()
// Have to define the dataset for E/z as it is not defined in the template
// @todo check that the dataset is defined only upon destruction, not at
// flushing already
cloned.writeIterations()[0].meshes["E"]["z"].resetDataset(
cloned.writeIterations()[0].meshes["E"].at("z").resetDataset(
{openPMD::Datatype::INT});
}

Expand Down

0 comments on commit b44f0a9

Please sign in to comment.