From ba9fcc48adc3c377890ed7c2af80dbf25c7543bb Mon Sep 17 00:00:00 2001 From: Oliver Ruebel Date: Thu, 8 Aug 2024 18:09:39 -0700 Subject: [PATCH] Fix lint --- tests/testHDF5IO_docs_examples.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/testHDF5IO_docs_examples.cpp b/tests/testHDF5IO_docs_examples.cpp index ec462042..4a298764 100644 --- a/tests/testHDF5IO_docs_examples.cpp +++ b/tests/testHDF5IO_docs_examples.cpp @@ -27,10 +27,8 @@ TEST_CASE("SWMRmodeExamples", "[hdf5io]") hdf5io->open(); // add a dataset - std::vector testData(10000); // Initialize the testData to 0, 1, 2, ... 10000 with std::iota - std::iota(testData.begin(), - testData.end(), - 1); + std::vector testData(10000); + std::iota(testData.begin(), testData.end(), 1); // Initialize testData std::string dataPath = "/data"; SizeType numBlocks = 10; // write 10 chunks of SizeType numSamples = testData.size();