Skip to content

Commit

Permalink
Use .f
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Madlener <thomas.madlener@desy.de>
  • Loading branch information
jmcarcell and tmadlener authored Sep 9, 2024
1 parent 8ed8038 commit bf3c973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/root_io/read_and_write_associated.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void writeCollection() {
item1.Number(i);
info.push_back(item1);

event.putParameter("UserEventWeight", static_cast<float>(100. * i));
event.putParameter("UserEventWeight", 100.f * i);
std::cout << " event number: " << i << std::endl;
event.putParameter("UserEventName", std::to_string(i));

Expand Down

0 comments on commit bf3c973

Please sign in to comment.