• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

boostorg / histogram / 41319779928
93%

Build:
DEFAULT BRANCH: develop
Ran 01 Nov 2026 03:15PM UTC
Jobs 1
Files 73
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Nov 2026 03:09PM UTC coverage: 93.405% (-0.04%) from 93.44%
41319779928

push

github

web-flow
feat: add pick command for reduce (#429)

* feat: add pick command for reduce

Add a pick command to algorithm::reduce, which selects an arbitrary
subset of bins by index from an axis which is not ordered, like the
category axis. Unlike slice, the picked bins do not have to be
adjacent, and they may be given in any order, which reorders the bins
in the new axis. Counts in bins which are not picked are added to the
overflow bin, if it is present, consistent with how slice treats
unordered axes; otherwise they are discarded.

Axes opt into picking with a new special constructor which accepts the
original axis and a vector of bin indices to keep. The new trait
axis::traits::has_pick_constructor detects this constructor. Only
unordered axis (axis::traits::is_ordered is false) can become pickable.
axis::category implements it; ordered axes throw
invalid_argument, since picking a non-adjacent subset from them would
require changing the axis type, which reduce does not support yet.

---------

Co-authored-by: Hans Dembinski <hans.dembinski@gmail.com>

3031 of 3245 relevant lines covered (93.41%)

341602.98 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
97.56
-2.44% boost/histogram/algorithm/reduce.hpp
Jobs
ID Job ID Ran Files Coverage
1 41319779928.1 01 Nov 2026 03:15PM UTC 73
93.41
GitHub Action Run
Source Files on build 41319779928
  • Tree
  • List 73
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41319779928
  • a1f15421 on github
  • Prev Build on develop (#41311470531)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc