Skip to content

Commit

Permalink
[ntuple] Fix error message for projected subfield
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnjo committed Nov 27, 2024
1 parent e502d65 commit 5b49a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree/ntuple/v7/src/RNTupleModel.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ ROOT::Experimental::RNTupleModel::AddProjectedField(std::unique_ptr<RFieldBase>
for (const auto &subField : *field) {
sourceField = FindField(mapping(subField.GetQualifiedFieldName()));
if (!sourceField)
return R__FAIL("no such field: " + mapping(fieldName));
return R__FAIL("no such field: " + mapping(subField.GetQualifiedFieldName()));
fieldMap[&subField] = sourceField;
}

Expand Down

0 comments on commit 5b49a0f

Please sign in to comment.