From ec24759dc712646482b40dacfbc3df2200876930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Tue, 26 Mar 2024 12:49:18 +0100 Subject: [PATCH] Ensure that E.z is there --- examples/14_toml_template.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/14_toml_template.cpp b/examples/14_toml_template.cpp index aa676b0955..db9e974320 100644 --- a/examples/14_toml_template.cpp +++ b/examples/14_toml_template.cpp @@ -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}); }