Skip to content

Commit

Permalink
Remove unnecessary cast. This should fix root-project#13421
Browse files Browse the repository at this point in the history
  • Loading branch information
bellenot committed Dec 20, 2023
1 parent e5bc4b0 commit f0c4935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmva/tmva/inc/TMVA/RBatchGenerator.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public:

// Create tensor to load the chunk into
fChunkTensor =
std::make_unique<TMVA::Experimental::RTensor<float>>((std::vector<std::size_t>){fChunkSize, fNumColumns});
std::make_unique<TMVA::Experimental::RTensor<float>>({fChunkSize, fNumColumns});
}

~RBatchGenerator() { DeActivate(); }
Expand Down

0 comments on commit f0c4935

Please sign in to comment.