Skip to content

Commit

Permalink
fix timeseries statement
Browse files Browse the repository at this point in the history
  • Loading branch information
stephprince committed Sep 17, 2024
1 parent 0fcd7e8 commit f0f8ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nwb/base/TimeSeries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Status TimeSeries::writeData(const std::vector<SizeType>& 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;
Expand Down

0 comments on commit f0f8ab1

Please sign in to comment.