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;