Skip to content

Commit

Permalink
Adapt version check
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Jul 16, 2024
1 parent af7911e commit dbe57d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/read_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ void processEvent(const podio::Frame& event, int eventNum, podio::version::Versi
}

// ======================= Associations ==========================
if (fileVersion >= podio::version::Version{0, 17, 99}) {
if (fileVersion >= podio::version::Version{1, 0, 99}) {
auto& associations = event.get<TestAssocCollection>("associations");
if (associations.size() != nmspaces.size()) {
throw std::runtime_error("AssociationsCollection does not have the expected size");
Expand Down

0 comments on commit dbe57d2

Please sign in to comment.