2064 Commits

Author SHA1 Message Date
Hans Dembinski
873a3bd48c wip 2021-10-13 16:21:50 +02:00
Hans Dembinski
6c327f38f2 not a workaround, but the way pdimov changed the build 2021-10-13 10:56:10 +02:00
Hans Dembinski
1ce098b976 improved doxygen docs 2021-10-13 10:32:25 +02:00
Hans Dembinski
e3668cf7de
regular and variable axis are closed intervals if overflow bin is absent (#344) 2021-09-30 14:59:27 +02:00
Hans Dembinski
93ffde46a4 fix doxygen 2021-09-30 14:58:49 +02:00
Hans Dembinski
7ea7a5702e
cpp17: set axis compile-time options via deduction guide (#340) 2021-09-30 13:49:22 +02:00
Hans Dembinski
7ec89f45f6
deprecate accumulators::sum::small and ::large as workaround for bug in windows.h (#343) 2021-09-30 11:20:56 +02:00
Hans Dembinski
b6f03835b4 clean up 2021-09-29 11:21:38 +02:00
Hans Dembinski
3296c42fe7 added comment about proven usefulness of this optimization 2021-09-27 10:26:27 +02:00
Hans Dembinski
3939415513 use new count instead of deprecated thread_safe 2021-09-27 10:23:17 +02:00
Hans Dembinski
6cc4601b87
Fix bug in 1D histogram::fill when axis is growing and argument is single value (#334) boost-1.78.0.beta1 2021-09-26 18:31:35 +02:00
Henry Schreiner
b11de06c43
tests: explicit extensions required in modern CMake (#330) 2021-09-26 12:31:00 +02:00
Hans Dembinski
4a10c2c11b
Fix and test for missing count division (#329) 2021-08-19 14:22:41 +02:00
Hans Dembinski
90a58d03ee
fix scaling for count and update CI (#328) boost-1.77.0 boost-1.77.0.beta1 2021-06-27 16:58:14 +02:00
Hans Dembinski
6cde30a366
deprecate accumulators::thread_safe, replace with optionally thread-safe accumulators::count (#326) 2021-05-17 22:20:47 +02:00
Hans Dembinski
30e1a71571 whitespace 2021-05-16 11:51:38 +02:00
Hans Dembinski
79fab52b32
update to lcov-1.15 and update to less brittle python script (#325) 2021-05-07 17:32:04 +02:00
Hans Dembinski
96bfcd620c
activate more warnings (#322) 2021-04-25 14:27:42 +02:00
Hans Dembinski
2d9623d7ff
Generalize indexed; allow interation over user-provided rectangular range (#321) 2021-04-24 22:37:42 +02:00
Hans Dembinski
c1b51ad640
fix inclusive() in integer axis (#320)
It was possible to trigger this bug, which triggered an assertion in debug mode. In release mode, it would have probably caused a segfault.
2021-04-24 12:24:47 +02:00
Hans Dembinski
d60f96ded6
ostream improvements: support more accumulators, unicode plots (#317) 2021-04-23 20:15:12 +02:00
Hans Dembinski
8a402c7672 minor update of readme2 2021-04-23 15:20:59 +02:00
Hans Dembinski
5af2e2970b minor update of readme 2021-04-23 15:18:07 +02:00
Hans Dembinski
c80ab0ca34
add method to get effective count for weighted accumulators (#312)
following the discussion around boost-histogram's interface (Python wrapper)
2021-04-23 15:06:05 +02:00
Hans Dembinski
14fdb6fb56
Support floating point numbers in thread_safe accumulator, don't inherit from std::atomic (#315)
* don't inherit from std::atomic anymore
* support float and double
* added .value() method for consistency
2021-04-23 15:04:23 +02:00
Hans Dembinski
5d671b4ffc
update internal detect code, add is_explicitly_convertible and is_complete (#316) 2021-04-23 14:58:54 +02:00
Peter Dimov
7902c851b2 Fix parenthesis placement; the simplistic dependency scanner only sees dependencies when they are on their own line with nothing else boost-1.76.0 2021-03-19 03:34:11 +02:00
Hans Dembinski
f0e9e77a33
fixing bug in detection of weight support in user-defined accumulators (#314)
* Also fixed the accumulator concept spec, which was wrong
2021-03-18 12:58:12 +01:00
Hans Dembinski
1c1eaed4f2 better wording for changelog 2021-03-17 12:00:44 +01:00
Hans Dembinski
d18b2408ec add bug-fix message to changelog 2021-03-17 11:56:45 +01:00
Hans Dembinski
f9920135c5
fix weighted_mean::operator+= and add missing noexcept to operator*= (#311) 2021-03-17 11:53:10 +01:00
Hans Dembinski
18b544c6ad
add detail::square (#309) 2021-03-16 19:26:52 +01:00
Hans Dembinski
de33fc74a4
Fix variance calculation in accumulators::mean::operator+= (#308) 2021-03-16 13:17:40 +01:00
Edward Diener
7c24d2683e Add "cxxstd" json field (#304) boost-1.76.0.beta1 2021-03-03 17:20:23 +01:00
Hans Dembinski
dc16bab2c8 update changelog 2021-03-03 17:16:56 +01:00
Hans Dembinski
6b67e647c9 update changelog 2020-12-08 00:46:33 +01:00
Hans Dembinski
e6c2014897
More crop tests with rebin and regular axis (#303) 2020-12-08 00:33:26 +01:00
Hans Dembinski
5bd5bfb978
Bug-fix for one-sided cropping and clarify how cropping works (#302) 2020-12-07 15:12:20 +01:00
Hans Dembinski
3ff9fbb976 update changelog boost-1.75.0 2020-11-25 13:19:23 +01:00
Hans Dembinski
a95480b0f9 adding to rationale why metadata is checked for equality 2020-11-25 11:52:01 +01:00
Hans Dembinski
d978def984 fix ci yaml 2020-11-12 11:30:06 +01:00
Hans Dembinski
9b72cc885e ignore changes in markdown 2020-11-10 23:07:08 +01:00
Hans Dembinski
5d9fa430ec update table and remark on supported c++ versions 2020-11-10 23:04:28 +01:00
Hans Dembinski
b79010f86e do fast checks on push 2020-11-10 22:32:00 +01:00
Hans Dembinski
148de49d71 fixed wording 2020-11-10 22:28:35 +01:00
Hans Dembinski
ebe9010db8
bug-fix: handling of special values in ctor and in value method #301
* Fixed: Passing nan to the ctor of axis::variable failed to throw std::invalid_argument
* Fixed: axis::variable{{0, 1, inf}}.value(1) was nan, because interpolation would compute 0 * inf
2020-11-10 22:18:32 +01:00
Hans Dembinski
91e32ce17c
Update links and add cmake build info 2020-11-08 23:12:15 +01:00
Hans Dembinski
3f9e9c3dc8
Document undefined behavior of accumulator::mean and accumulator::weighted_mean (#298) boost-1.75.0.beta1 2020-11-01 23:38:50 +01:00
Hans Dembinski
9a37827066
test and fix for gcc-5 (#129) 2020-11-01 19:34:55 +01:00
Hans Dembinski
0840102bfe
Workaround for gcc bug, fix for static global variable and function in header, fix of c++20 warning 2020-11-01 17:10:11 +01:00