Skip to content

Commit 93ac579

Browse files
committed
[df] Specify more precisely action type in test
The return type from the previous Define call is float, so use the same type for the Take action.
1 parent 0d1458e commit 93ac579

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tree/dataframe/test/datasource_ntuple.cxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ TEST_F(RNTupleDSTest, AlternativeColumnTypes)
492492
// Invalid outer field type
493493
auto dfInvalid = ROOT::RDF::Experimental::FromRNTuple(fNtplName, fFileName);
494494
dfInvalid.Define("firstJet", [](const std::pair<float, float> &jets) { return jets.first; }, {"jets"})
495-
.Take<std::size_t, ROOT::RVec<std::size_t>>("firstJet")
495+
.Take<float, ROOT::RVec<float>>("firstJet")
496496
.GetValue();
497497
FAIL() << "specifying templated actions with incompatible column types should throw";
498498
} catch (const std::runtime_error &err) {

0 commit comments

Comments
 (0)