From cdb4c0239050fdece68e7257ab65bc4c32cc424e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Wed, 26 Jul 2023 20:21:21 +0200 Subject: [PATCH] Use simple API in test again --- test/SerialIOTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/SerialIOTest.cpp b/test/SerialIOTest.cpp index 9d168559a2..ea06c9d7b3 100644 --- a/test/SerialIOTest.cpp +++ b/test/SerialIOTest.cpp @@ -5146,7 +5146,7 @@ void variableBasedSingleIteration(std::string const &file) Series readSeries(file, Access::READ_LINEAR); readSeries.parseBase(); - auto E_x = (*readSeries.readIterations().begin()).meshes["E"]["x"]; + auto E_x = readSeries.iterations[0].meshes["E"]["x"]; REQUIRE(E_x.getDimensionality() == 1); REQUIRE(E_x.getExtent()[0] == extent); auto chunk = E_x.loadChunk({0}, {extent});