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 Aug 5, 2024
1 parent 26b529f commit df04b3e
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 df04b3e

Please sign in to comment.