Skip to content

Commit

Permalink
adressing PR2 specific comments
Browse files Browse the repository at this point in the history
  • Loading branch information
asalzburger committed Jan 9, 2023
1 parent dbcd3b3 commit eec0b5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plugins/Json/src/ExtentJsonConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void Acts::from_json(const nlohmann::json& j, Acts::Extent& e) {
const auto bValueNames = binningValueNames();
for (auto [ib, bvn] : enumerate(bValueNames)) {
if (j.find(bvn) != j.end()) {
e.set(static_cast<BinningValue>(ib), j[bvn]["min"], j[bvn]["max"]);
e.range(static_cast<BinningValue>(ib)) = j[bvn];
}
}
}
}

0 comments on commit eec0b5b

Please sign in to comment.