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 May 14, 2024
1 parent 54dc770 commit fc1578c
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 fc1578c

Please sign in to comment.