Commit Graph

27 Commits

Author SHA1 Message Date
Hans Dembinski
b7fc900e3b Better error messages when fill arguments do not match accumulator requirements 2019-11-06 00:19:41 +01:00
Hans Dembinski
f56337177d
Fix sample argument bug
fixes: a weight could pass as sample and vice versa
2019-10-31 01:45:02 +01:00
Hans Dembinski
3b18d9075b
Better deduction guides for axis types and histogram 2019-10-27 17:27:26 +01:00
Henry Schreiner
bf7a97ae8b Adding empty(hist, cov) (#245) 2019-10-27 09:42:24 +01:00
Hans Dembinski
ebabd550a0
Replace detail::compressed_pair with boost::core::empty_value 2019-10-24 21:47:17 +02:00
Hans Dembinski
c22e69c4f1
Build system fixes
- CMake: make compile-fail tests fail for the right reasons not because of missing headers
- CMake: run check_odr_test.py
- B2: actually run check_odr_test.py and check_build_system.py
2019-10-22 23:32:27 +01:00
Hans Dembinski
30899cb45d
Merged upgraded display.hpp code into histogram/ostream.hpp
supports all axis bin types and gracefully handles histograms with accumulators
2019-10-17 00:58:37 +02:00
Hans Dembinski
05c1bbfac1
Improve odr test (#59)
* rename link test to odr test and check odr test completeness
* added convenience header for algorithm
* added minimal docs for axis.hpp, accumulators.hpp, algorithm.hpp
* temporarily remove display.hpp (will return in another patch)
2019-10-12 15:12:53 +02:00
Henry Schreiner
493a195a54 Fixing missing inline, adding link test (#231) 2019-10-08 10:10:23 +02:00
Hans Dembinski
0101f698bb
check build system (#228)
make sure that all implemented tests are actually run
2019-09-29 13:33:20 +02:00
Hans Dembinski
0d893d4eff
adding weight support for mean accumulator (#212)
changed type of sum to RealType for mean and added serialization tests for builtin accumulators
2019-09-12 08:08:39 +02:00
Hans Dembinski
016532f011
Histogram fill method (#54)
huge refactor, various speed improvements, potential for further improvements and parallelization
2019-08-19 23:55:43 +02:00
Hans Dembinski
df647cf959
update copyright (#55)
* add missing copyright notices
* workaround for xml_iarchive bug to handle XML with comments
* fixing min/max according to boost guidelines
2019-08-19 16:53:27 +02:00
Hans Dembinski
7e40aaf689
internal operators library replaces duplicated code 2019-06-10 16:05:51 +02:00
Hans Dembinski
2239314eed
variant2 instead of detail::variant 2019-06-03 22:14:50 +02:00
Hans Dembinski
885a8b93e5 copy version check from boost.assert and update version 2019-06-03 22:00:15 +02:00
Hans Dembinski
96926f367f
splitting meta.hpp into parts 2019-05-31 16:46:49 +02:00
Hans Dembinski
e434804508
explicitly guarantee nothrow moves for all builtin axis types
* use preinstalled gcc5 on travis and don't stop on first error anymore
* update axis concept regarding nothrow moves
2019-05-28 22:29:26 +02:00
Hans Dembinski
a8226955c2
Improve serialization of variant using only public interface and added serialiation for thread_safe<T> 2019-05-12 17:56:45 +02:00
Hans Dembinski
af77b6af07
Decouple tests and benchmarks, turn off warnings for tests with some external boost libs
- Tests and benchmarks now only include the headers they really need.
- Warnings turned off for tests that compile with external boost libs that are not warning free
2019-05-12 13:33:54 +02:00
Hans Dembinski
e75aa6b210
Google benchmark and benchmark improvements
* fetching google benchmark with cmake
* use new thread-safe accumulator in histogram_parallel_filling
* update boost, root and gsl benchmarks to use google benchmark
2019-05-03 22:06:01 +02:00
Hans Dembinski
073dffdf09
More doc improvements 2019-04-28 12:22:49 +02:00
Hans Dembinski
6b386c9b51
increase coverage
* provide unsafe access to buffer
* factored mp_int out into separate header and renamed to large_int
* refined adding behavior
* more warnings and comeback of coverage variant
* better coverage reporting
2019-04-22 03:33:05 +02:00
Hans Dembinski
ed4935cd93
better build files 2019-04-20 00:00:29 +02:00
Hans Dembinski
02348a74e1
Replace boost::iterator_adaptor with private iterator_adaptor to reduce dependencies 2019-04-19 23:07:23 +02:00
Hans Dembinski
07c3638423 also test threaded things with cmake 2019-04-16 23:41:03 +02:00
Hans Dembinski
910431d8ad
Partial boost-cmake support
Running tests works, but installing targets does not
2019-04-14 19:54:46 +02:00