Skip to content

Commit

Permalink
Fix issue with narrowing (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell authored Nov 27, 2023
1 parent 8b65e86 commit 16fd64d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ struct ExampleFunctionalProducer final : Gaudi::Functional::Producer<edm4hep::MC
// This is the function that will be called to produce the data
edm4hep::MCParticleCollection operator()() const override {
auto coll = edm4hep::MCParticleCollection();
coll.create(1, 2, 3, 4, 5, 6);
coll.create(2, 3, 4, 5, 6, 7);
coll.create(1, 2, 3, 4.f, 5.f, 6.f);
coll.create(2, 3, 4, 5.f, 6.f, 7.f);
// We have to return whatever collection type we specified in the
// template argument
return coll;
Expand Down

0 comments on commit 16fd64d

Please sign in to comment.