24 Commits

Author SHA1 Message Date
Hans Dembinski
3afe76f91f Add CI for building docs (#415) 2025-06-12 21:19:03 +02:00
Thomas-Barbier-1A
c55b5290af Don't use deprecated form of user-defined literal operator (#408)
* Don't use deprecated form of user-defined literal operator
* add clang warning regarding deprecated literal operator

---------

Co-authored-by: Hans Dembinski <hans.dembinski@gmail.com>
2025-06-05 16:54:54 +02:00
René Ferdinand Rivera Morell
b5cce2833b Add support for modular build structure. (#401)
* Make the library modular usable
* Move inter-lib dependencies to a project variable and into the build targets
* Bump B2 require to 5.2
* Update dependencies used in CI: compiler versions, tools, etc.

---------

Co-authored-by: Hans Dembinski <hans.dembinski@gmail.com>
2025-06-05 15:23:06 +02:00
Hans Dembinski
cd3e1110cb Updates from #370 (#397)
This PR keeps the useful changes from PR #370, which was never finished.
2024-04-24 17:39:24 +02:00
Matt Borland
cda7447c97 Replace deprecated find_package for python (#393)
* Replace deprecated find_package for python
* update cmake minimum version

---------

Co-authored-by: Hans Dembinski <hans.dembinski@gmail.com>
2024-04-23 14:11:46 +02:00
Hans Dembinski
d475bc9b85 Fixes for latest compilers (#373) 2022-12-23 00:58:31 +01:00
Hans Dembinski
25608fe86a fix sub_array and span in C++20 (#368) 2022-10-03 13:57:08 +02:00
Jay Gohil
10c19df918 Add fraction accumulator (for calculating efficiencies, etc) (#361)
* Added fraction accumulator
* Added binomial proportion interval computers: Wald, Wilson Score, Clopper Pearson, Jeffreys
* Width of intervals for all classes can be set via deviation or confidence_level
* Support valarray in histogram::fill
* Add fraction and count to user guide

Co-authored-by: Hans Dembinski <hans.dembinski@gmail.com>
Co-authored-by: Hans Dembinski <HDembinski@users.noreply.github.com>
2022-09-28 11:18:46 +02:00
Hans Dembinski
4699dbc0e8 fix tests for msvc 2022 (#363) 2022-07-28 19:16:27 +02:00
Baoshuo Ren
0718ae6f10 chore: bump macos runner version (#362)
GitHub Action is sunsetting the macOS 10.15 Actions runner. It will stop working intermittently until being completely removed by 2022-8-30: https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22

Co-authored-by: Hans Dembinski <hans.dembinski@gmail.com>
2022-07-27 23:25:50 +02:00
Hans Dembinski
c234637336 fix ci build (#348) 2021-11-15 08:21:02 +01:00
Hans Dembinski
6cc4601b87 Fix bug in 1D histogram::fill when axis is growing and argument is single value (#334) 2021-09-26 18:31:35 +02:00
Hans Dembinski
90a58d03ee fix scaling for count and update CI (#328) 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
79fab52b32 update to lcov-1.15 and update to less brittle python script (#325) 2021-05-07 17:32:04 +02:00
Hans Dembinski
d60f96ded6 ostream improvements: support more accumulators, unicode plots (#317) 2021-04-23 20:15:12 +02: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
b79010f86e do fast checks on push 2020-11-10 22:32:00 +01:00
Hans Dembinski
3f9e9c3dc8 Document undefined behavior of accumulator::mean and accumulator::weighted_mean (#298) 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
Hans Dembinski
2f91f037b9 Replace travis and fix several warnings (#128)
* fix iteration warning
* fix c++20 warning of deprecated volatile ops
* fix warning of using naked throw
2020-10-31 20:40:11 +01:00
Hans Dembinski
a872c6e1c3 Adding GitHub actions for CI 2020-01-06 01:37:52 +01:00