Skip to content

Commit fc1578c

Browse files
committed
Ensure that E.z is there
1 parent 54dc770 commit fc1578c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/14_toml_template.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ void read()
118118
// Have to define the dataset for E/z as it is not defined in the template
119119
// @todo check that the dataset is defined only upon destruction, not at
120120
// flushing already
121-
cloned.writeIterations()[0].meshes["E"]["z"].resetDataset(
121+
cloned.writeIterations()[0].meshes["E"].at("z").resetDataset(
122122
{openPMD::Datatype::INT});
123123
}
124124

0 commit comments

Comments
 (0)