Skip to content
Snippets Groups Projects

More natural syntax for histogram constructor

Merged Sebastien Ponce requested to merge sponce_histoConstructor into master

One can now write :

  Histogram<2, atomicity::full, float> hist{&algo, "Test2DHist", "Test 2D histogram", {64, 0., 64.}, {52, 0., 52.}};

while it used to be only

  Histogram<2, atomicity::full, float> hist{&algo, "Test2DHist", "Test 2D histogram", {{64, 0., 64.}, {52, 0., 52.}}};

with extra braces.

Edited by Sebastien Ponce

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading