From f0f8ab1ccf22d513b300b3eb3aa7b26b95a4c6b2 Mon Sep 17 00:00:00 2001 From: Steph Prince <40640337+stephprince@users.noreply.github.com> Date: Tue, 17 Sep 2024 13:34:47 -0700 Subject: [PATCH] fix timeseries statement --- src/nwb/base/TimeSeries.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nwb/base/TimeSeries.cpp b/src/nwb/base/TimeSeries.cpp index a9c008b3..6ba40061 100644 --- a/src/nwb/base/TimeSeries.cpp +++ b/src/nwb/base/TimeSeries.cpp @@ -72,7 +72,7 @@ Status TimeSeries::writeData(const std::vector& dataShape, Status dataStatus = this->data->writeDataBlock( dataShape, positionOffset, this->dataType, data); - if ((dataStatus != Status::Success) or (tsStatus != Status::Success)) { + if ((dataStatus != Status::Success) || (tsStatus != Status::Success)) { return Status::Failure; } else { return Status::Success;