Commit Graph

745 Commits

Author SHA1 Message Date
Hans Dembinski
cdc1fc442f fix 2019-01-12 20:51:30 +01:00
Hans Dembinski
3cec3edb9c working test: simpler variant visit, simpler linearize functions, extended traits; get_if for std compliance 2019-01-12 20:42:45 +01:00
Hans Dembinski
d926077705 nicer naming of internal functions and explicitly initialize shifts, 2019-01-11 23:56:18 +01:00
Hans Dembinski
2e4ad7a5df enable growing axis support at compile-time only when needed 2019-01-11 23:33:30 +01:00
Hans Dembinski
bd381dbe76 gcc fix 2019-01-11 00:47:18 +01:00
Hans Dembinski
54eb52d80d wip: growing axis for static 1d working 2019-01-11 00:38:34 +01:00
Hans Dembinski
7be6dd27f6 wip, support for growing axes 2019-01-11 00:11:34 +01:00
Hans Dembinski
b0b1f9065e exact comparison for references 2019-01-11 00:06:26 +01:00
Hans Dembinski
347ac33d2c make accessor writeable 2019-01-11 00:06:26 +01:00
Hans Dembinski
608a89fef3 fix travis 2019-01-11 00:06:26 +01:00
Hans Dembinski
e80ae946e6 full iterator support 2019-01-11 00:06:26 +01:00
Hans Dembinski
dd0943a4b0 not necessary 2019-01-11 00:06:26 +01:00
Hans Dembinski
188bf8ecbe Introduce grid type and derive histogram from grid 2019-01-11 00:06:26 +01:00
Hans Dembinski
37ac219921 added profile example and improved interface of mean and weighted_mean 2019-01-11 00:06:26 +01:00
Hans Dembinski
ca815dd231 remove obsolete comment 2019-01-11 00:06:26 +01:00
Hans Dembinski
2d5fb32b88 improved support and testing of axes over boost::units 2019-01-11 00:06:26 +01:00
Hans Dembinski
68ce22a323 deduction guides for histogram class 2019-01-11 00:06:26 +01:00
Hans Dembinski
d96f749a52 deduction guides for histogram 2019-01-11 00:06:26 +01:00
Hans Dembinski
12a79e5197 regular axis with unit can now also use transforms 2019-01-11 00:06:26 +01:00
Hans Dembinski
cbdd77f629 getting rid of value_bin_view, since we dont need to use bins as indices anymore 2019-01-11 00:06:26 +01:00
Hans Dembinski
a510b7dc93 no need for serialize method in histogram anymore 2019-01-11 00:06:26 +01:00
Hans Dembinski
c4c2476012 use indexed in reduce and project, making index_mapper obsolete 2019-01-11 00:06:26 +01:00
Hans Dembinski
168e41dc83 change the iteration order from 0...N-1 overflow underflow to underflow 0 ... N -1 overflow, move axis allocators at the end of template argument 2019-01-11 00:06:26 +01:00
Hans Dembinski
74d1b95d72 fixing deduction guide testing; better error when google benchmark is not found 2019-01-11 00:06:26 +01:00
Hans Dembinski
81abaa23eb fix for travis 2019-01-11 00:06:26 +01:00
Henry Fredrick Schreiner
d75b2dc207 Small typo fix 2019-01-11 00:06:26 +01:00
Henry Fredrick Schreiner
0d481a8938 Fix for duplicate symbol linking error 2019-01-11 00:06:26 +01:00
Hans Dembinski
fb7ca0a0ef added deduction guides for axis types; removed circular axis implementation, implemented circular option for regular, integer, and variable axis; simplified transform spec; added axis::allocator alias 2019-01-11 00:06:26 +01:00
Hans Dembinski
5752fd8f87 axis benchmark and simpler circular index calculation 2019-01-11 00:06:26 +01:00
Hans Dembinski
d6c7e81515 faster indexing when iterating over all bins 2019-01-11 00:06:26 +01:00
Hans Dembinski
f21d396179 better value access and fixes for CI builds 2019-01-11 00:06:26 +01:00
Hans Dembinski
1e0dcc72fb switch to int everywhere 2019-01-11 00:06:26 +01:00
Hans Dembinski
84641d0f41 added option for indexed to skip extra bins (new default); avoid mp11 in interface; use int as return type for axis::size() 2019-01-11 00:06:26 +01:00
Hans Dembinski
9783a329c4 BOOST_THROW_EXCEPTION 2019-01-11 00:06:26 +01:00
Hans Dembinski
5d98adcdef fix 2019-01-11 00:06:26 +01:00
Hans Dembinski
e2987d528e added nodiscard 2019-01-11 00:06:26 +01:00
Hans Dembinski
be16b0f39f fix 2019-01-11 00:06:26 +01:00
Hans Dembinski
fbf9707874 fix 2019-01-11 00:06:26 +01:00
Hans Dembinski
dc1f4ad47c fix 2019-01-11 00:06:26 +01:00
Hans Dembinski
a4fe842b4a added density method to indexed proxy, hide details of axes_buffer 2019-01-11 00:06:26 +01:00
Hans Dembinski
31c762b359 new interface for proxy returned by indexed, new test and fixes for boost.range support 2019-01-11 00:06:26 +01:00
Hans Dembinski
d512bf469f simpler 2019-01-11 00:06:26 +01:00
Hans Dembinski
b7dd2865cc use correct size for buffer if size is known at compile-time 2019-01-11 00:06:26 +01:00
Hans Dembinski
14649920b7 better placement 2019-01-11 00:06:26 +01:00
Hans Dembinski
e40757b9de clean up 2019-01-11 00:06:26 +01:00
Hans Dembinski
00cd2e866e changed axis::option_type to compile-time option, replaced fancy histogram iterator with indexed range adaptor, cleanup of various headers 2019-01-11 00:06:26 +01:00
Hans Dembinski
db8fe44e9e added support for variable axis 2019-01-11 00:06:26 +01:00
Hans Dembinski
82186969f3 added support for circular axis 2019-01-11 00:06:26 +01:00
Hans Dembinski
4533bd9fd4 added reduce algorithm to shrink and rebin, fixed bug in polymorphic_bin in the process, to-do: add more axis support for shrink and rebin 2019-01-11 00:06:26 +01:00
Hans Dembinski
09f58022c0 eliminate some warnings about conversions 2019-01-11 00:06:26 +01:00
Hans Dembinski
bac1490525 fix 2019-01-11 00:06:26 +01:00
Hans Dembinski
cfc037dc4e remove obsolete array includes and enable deactivated serialization tests 2019-01-11 00:06:26 +01:00
Hans Dembinski
3076fc21b9 define maximum capacity for internal buffers 2019-01-11 00:06:26 +01:00
Hans Dembinski
3b429d889c fix 2019-01-11 00:06:26 +01:00
Hans Dembinski
3661b238b6 clean up of accumuators, use consistent naming, make sure that sum accumulator can be used as RealType in weighted_sum 2019-01-11 00:06:26 +01:00
Hans Dembinski
855653ed14 fix win 2019-01-11 00:06:26 +01:00
Hans Dembinski
692f8082c8 fix win 2019-01-11 00:06:26 +01:00
Hans Dembinski
8ec2daed87 rewrote accumulators to use more numerically stable algorithms, do not propagate weight_type down to the accumuator anymore, added neumaier summation, simplified interface of weight accumulator 2019-01-11 00:06:26 +01:00
Hans Dembinski
c0009761f9 fix ci 2019-01-11 00:06:26 +01:00
Hans Dembinski
4d3f9afb74 new example with histogram thats filled in parallel 2019-01-11 00:06:26 +01:00
Hans Dembinski
4bc30a74f0 added sum algorithm 2019-01-11 00:06:25 +01:00
Hans Dembinski
04acab427d lifted condition that indices must be rising 2019-01-11 00:06:25 +01:00
Hans Dembinski
3020e72b53 moved reduce_to to project, closes issue 77 2019-01-11 00:06:25 +01:00
Hans Dembinski
0736a5e14a added unsafe access 2019-01-11 00:06:25 +01:00
Hans Dembinski
521b43778a refactoring of make_histogram factories 2019-01-11 00:06:25 +01:00
Hans Dembinski
46780f1a51 protect against programming error 2019-01-11 00:06:25 +01:00
Hans Dembinski
a6cb396704 more tests 2019-01-11 00:06:25 +01:00
Hans Dembinski
b82aa3b632 first working accumulator support 2019-01-11 00:06:25 +01:00
Hans Dembinski
773539f59b generalization of has_method_value_with_..., removed obsolete classify_container 2019-01-11 00:06:25 +01:00
Hans Dembinski
ec3e8d68da no need for a trait 2019-01-11 00:06:25 +01:00
Hans Dembinski
04ca7a3fee wip for adding profile support 2019-01-11 00:06:25 +01:00
Hans Dembinski
7f5188a81d fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
3b17374ac7 simpler 2019-01-11 00:06:25 +01:00
Hans Dembinski
cf8c7a1168 avoid warnings on travis with gcc-5 2019-01-11 00:06:25 +01:00
Hans Dembinski
1041aefa7a better warning handling 2019-01-11 00:06:25 +01:00
Hans Dembinski
b743458053 prefer struct over function 2019-01-11 00:06:25 +01:00
Hans Dembinski
0eb4262499 remove more warnings 2019-01-11 00:06:25 +01:00
Hans Dembinski
dce8d16f0d fix windows 2019-01-11 00:06:25 +01:00
Hans Dembinski
faede986fd fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
9a082b26e2 attempt to fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
d3d4f17ddb silence some warnings 2019-01-11 00:06:25 +01:00
Hans Dembinski
b808de8154 support for axis types which accept multiple arguments 2019-01-11 00:06:25 +01:00
Hans Dembinski
8546683a4f fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
4cc4cf0955 fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
3c25dbdecf fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
7491d4e470 try again to remove the warning 2019-01-11 00:06:25 +01:00
Hans Dembinski
a2cb137b93 fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
888c8bbf3e fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
0b18bd6f0d removed handling of dynamic containers passed via operator() to obtain better non-surprising solution for tuples passed to 1d histogram, weights can be passed at the beginning or end again of the call to histogram::operator() 2019-01-11 00:06:25 +01:00
Hans Dembinski
6b90cdb77b simpler 2019-01-11 00:06:25 +01:00
Hans Dembinski
ed4da69965 added tests for dynamic axis access 2019-01-11 00:06:25 +01:00
Hans Dembinski
69bfe0f7df support for runtime index access of axis on static histogram 2019-01-11 00:06:25 +01:00
Hans Dembinski
23790f4008 support for vector of non-variant axes 2019-01-11 00:06:25 +01:00
Hans Dembinski
693bb0d1d9 now also support vector of plain axis types 2019-01-11 00:06:25 +01:00
Hans Dembinski
7b99e6037d simpler 2019-01-11 00:06:25 +01:00
Hans Dembinski
4aa8b4faf5 simpler 2019-01-11 00:06:25 +01:00
Hans Dembinski
98f78c6179 simpler 2019-01-11 00:06:25 +01:00
Hans Dembinski
90b19b0324 simpler 2019-01-11 00:06:25 +01:00
Hans Dembinski
57870cf7dd simpler 2019-01-11 00:06:25 +01:00
Hans Dembinski
2b839497c2 simpler 2019-01-11 00:06:25 +01:00
Hans Dembinski
7253624add remove debris 2019-01-11 00:06:25 +01:00
Hans Dembinski
2131875ea7 simpler 2019-01-11 00:06:25 +01:00
Hans Dembinski
2e6f5a93a7 fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
f0c87418b1 fixed serialization and benchmark 2019-01-11 00:06:25 +01:00
Hans Dembinski
e20243e9d4 preliminary fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
fb80067aa5 added support for boost::accumulators, reintroduced add method to storage interface 2019-01-11 00:06:25 +01:00
Hans Dembinski
d326514ac8 all tests pass for adapted vector and array, map still failing 2019-01-11 00:06:25 +01:00
Hans Dembinski
61be24b94d working version 2019-01-11 00:06:25 +01:00
Hans Dembinski
a17a6c677c wip, histogram_test fails 2019-01-11 00:06:25 +01:00
Hans Dembinski
c6e24e4747 refactor 2019-01-11 00:06:25 +01:00
Hans Dembinski
77fc9405b7 fix warning 2019-01-11 00:06:25 +01:00
Hans Dembinski
47a245ded8 fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
450f80cb8a generialization of axis::variant 2019-01-11 00:06:25 +01:00
Hans Dembinski
390fe636a2 more noexcept and fixed iterator_value_type 2019-01-11 00:06:25 +01:00
Hans Dembinski
876b951931 suppress pragma warning and ignore failing test on msvc 2019-01-11 00:06:25 +01:00
Hans Dembinski
2212870fba test for quantity transform 2019-01-11 00:06:25 +01:00
Hans Dembinski
62622c6639 silence warning 2019-01-11 00:06:25 +01:00
Hans Dembinski
b8d158e94e refactoring axis types into separate functions, make them use compressed_pair instead of crappy custom empty base optimization 2019-01-11 00:06:25 +01:00
Hans Dembinski
22745ca571 fix win 2019-01-11 00:06:25 +01:00
Hans Dembinski
f605fe3f50 fix win 2019-01-11 00:06:25 +01:00
Hans Dembinski
d434a755bf fix win 2019-01-11 00:06:25 +01:00
Hans Dembinski
259c4fe34d fix win 2019-01-11 00:06:25 +01:00
Hans Dembinski
3721f1fa30 ws 2019-01-11 00:06:25 +01:00
Hans Dembinski
3fc67b07cd fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
97f39a40c8 fix 2019-01-11 00:06:25 +01:00
Hans Dembinski
e0b7070276 fixing serialization 2019-01-11 00:06:25 +01:00
Hans Dembinski
3b60fd9102 replaced overload with static_if 2019-01-11 00:06:25 +01:00
Hans Dembinski
6664a8684c all tests without streamers passing, need to fix streamers 2019-01-11 00:06:25 +01:00
Hans Dembinski
c221d07b42 wip, histogram_test compiles 2019-01-11 00:06:25 +01:00
Hans Dembinski
c02e7b0f22 wip, axis_test passes 2019-01-11 00:06:25 +01:00
Hans Dembinski
7822c87f4f fixed axis_test 2019-01-11 00:06:25 +01:00
Hans Dembinski
793ef884df wip: fixing tests, removed weight_counter from adaptive_storage, storage scaling with double 2019-01-11 00:06:25 +01:00
Hans Dembinski
c237b97e94 wip: overhauled axis types, axis::any -> axis::variant, axis::traits provide features 2019-01-11 00:06:25 +01:00
Hans Dembinski
5187b50656 fixed 2019-01-11 00:06:25 +01:00
Hans Dembinski
5973df2e1e move trans instead of copy, use internal to compute min_ and delta_ 2019-01-11 00:06:25 +01:00
Hans Dembinski
75ccfe9f3e missing header 2018-09-16 18:50:27 +02:00
Hans Dembinski
c4c5e9c5df fix 2018-09-16 00:21:12 +02:00
Hans Dembinski
1d99bc93ee fix 2018-09-16 00:06:33 +02:00
Hans Dembinski
5baee1d381 win-fix 2018-09-15 23:51:49 +02:00
Hans Dembinski
9544436fd1 fix win 2018-09-15 23:17:55 +02:00
Hans Dembinski
5e266efb91 missing doxygen doc 2018-09-15 22:55:27 +02:00
Hans Dembinski
bf8c9b4162 scale type must be configurable and storages as backends should be structs 2018-09-15 22:40:31 +02:00
Hans Dembinski
2473a70f0b fix win 2018-09-15 20:50:11 +02:00
Hans Dembinski
3b807f9714 fix 2018-09-15 20:32:32 +02:00
Hans Dembinski
83149c17c9 fix 2018-09-15 20:03:00 +02:00
Hans Dembinski
633159dbc8 fix for issue 72, allocator not used for cpp_int 2018-09-15 19:50:46 +02:00
Mateusz Łoskot
ae4f87ceff
Fix include guards without leading underscore
Remove leading undescore from the macro names, make them legal C++.
2018-09-14 23:10:14 +02:00
Hans Dembinski
76aa64c861 add static assert for allocator condition 2018-09-02 16:41:38 +02:00
Hans Dembinski
40d7bd94b0 fix for issue 70 2018-09-02 16:21:20 +02:00
Hans Dembinski
0dea9e15b3 fix for issue 70 2018-09-02 16:21:14 +02:00
Hans Dembinski
3b2b5e3356 simplify fwd 2018-08-24 10:56:04 +02:00
Hans Dembinski
d2a95786f2 throwing out static_axes and dynamic_axes aliases 2018-08-24 10:51:58 +02:00
Hans Dembinski
2bd9090c89 simplify 2018-08-23 22:33:10 +02:00
Hans Dembinski
9cf5b96478 fix warnings about comparison of signed and unsigned 2018-08-23 13:07:26 +02:00
Hans Dembinski
15ea8f90fb fix msvc 2018-08-23 12:48:09 +02:00
Hans Dembinski
127965e917 fixing serialization, some simplification 2018-08-22 15:05:37 +02:00
Hans Dembinski
d817764136 allocator support for category axis 2018-08-22 14:55:44 +02:00
Hans Dembinski
6517467aa2 fixing more tests 2018-08-22 13:04:11 +02:00
Hans Dembinski
4e6004af06 fixing a few tests 2018-08-22 12:43:00 +02:00
Hans Dembinski
f1c59deb04 make axis::variable allocator aware 2018-08-21 18:45:52 +02:00
Hans Dembinski
8216af927e fixing compilation of histogram_test, removed redundant code in make_*_histogram variants, more control over types allowed by make_dynamic_histogram* 2018-08-21 12:37:17 +02:00
Hans Dembinski
affe12e4cd init, WIP, compilation broken 2018-08-16 00:37:18 +02:00
Hans Dembinski
9c15c580a5 use std::size_t instead of int for axis indices, use asserts to make sure that arguments for reduce_to are proper, added missing copyright statements 2018-08-14 23:27:42 +02:00
Hans Dembinski
a49b81b984 get scale_type from storage implementation of operator*= 2018-08-14 21:33:43 +02:00
Hans Dembinski
6fd8bd4e1d eliminate msvc warning 2018-08-13 21:33:03 +02:00
Hans Dembinski
aedb5c33d7 issue 66 2018-08-13 21:13:50 +02:00
Hans Dembinski
7832cca461 more coverage 2018-08-13 20:58:06 +02:00
Hans Dembinski
7529e9bb91 fix for msvc 2nd try 2018-08-13 16:17:22 +02:00
Hans Dembinski
ef8e4bada0 hopefully fix error in fwd 2018-08-13 15:19:55 +02:00
Hans Dembinski
9eb487f880 fix ambiguity found by msvc 2018-08-13 15:16:10 +02:00
Hans Dembinski
07c11ddb91 removing utility header everywhere 2018-08-13 14:50:52 +02:00
Hans Dembinski
904d05f55b fix of speed_cpp and ignore some warnings in release mode 2018-08-13 01:44:58 +02:00
Hans Dembinski
d4b1715451 all tests pass 2018-08-13 01:24:41 +02:00
Hans Dembinski
be5d706769 unified histogram template 2018-08-12 22:25:32 +02:00
Hans Dembinski
a1cecfb698 wip 2018-08-06 22:58:29 +02:00
Hans Dembinski
9c41fa84ff fixed test for adapative storage 2018-08-06 00:38:30 +02:00
Hans Dembinski
109a7183ab WIP: everything compiles but most of histogram class is broken 2018-08-06 00:31:45 +02:00
Hans Dembinski
a84f469944 superficial adaptation of axis types, still need to use allocator internally 2018-08-05 15:56:58 +02:00
Hans Dembinski
dac5df6f1b allocator aware forward definitions 2018-08-05 13:34:39 +02:00
Hans Dembinski
26a0523844 allocator aware array_storage 2018-08-05 13:30:45 +02:00
Hans Dembinski
06bc8ceef5 nicer naming 2018-08-04 12:43:54 +02:00
Hans Dembinski
bdcb1025bc switching back to std::vector to fix tests, not worth the trouble 2018-08-03 22:34:36 +02:00
Hans Dembinski
9a2d4c4165 partial fix 2018-08-03 15:54:02 +02:00
Hans Dembinski
1056c7ae15 use boost containers for a small performance gain and more consistency over different platforms, where std implementations vary (e.g. MSVCs std::string is huge) 2018-08-01 12:47:28 +02:00
Hans Dembinski
255b242ad3 suppress final warning on msvc 2018-08-01 01:25:55 +02:00
Hans Dembinski
d30f269b3f suppress warning on msvc 2018-08-01 01:13:35 +02:00
Hans Dembinski
7187a3da4b fix 2018-08-01 00:28:00 +02:00
Hans Dembinski
abb49ede26 missing include 2018-08-01 00:23:22 +02:00
Hans Dembinski
70052ce6ca simplify 2018-08-01 00:08:36 +02:00
Hans Dembinski
d1a3541bdb simplify 2018-08-01 00:07:51 +02:00
Hans Dembinski
efe2fe5e21 separate allocator and buffer 2018-07-31 23:46:26 +02:00
Hans Dembinski
60f5e3149a if-chain is faster than switch 2018-07-31 22:37:13 +02:00
Hans Dembinski
e8bd056d8e fixed all tests 2018-07-31 22:30:03 +02:00
Hans Dembinski
b473391493 everything works up to serialization 2018-07-29 17:15:41 +02:00
Hans Dembinski
4584fda1df work in progress 2018-07-29 15:01:41 +02:00
Hans Dembinski
701221daee less warnings on MSVC 2018-07-22 16:29:08 +02:00
Hans Dembinski
92e39de67d silence MSVC warning 2018-07-22 16:15:31 +02:00
Hans Dembinski
b34b1b1e15 restored inline where really needed and use BOOST_ATTRIBUTE_UNUSED macro instead of custom ifdef 2018-07-22 14:49:13 +02:00
Hans Dembinski
8b409b15ce removed superfluous inline statements 2018-07-22 14:12:55 +02:00
Hans Dembinski
8dd0458250 axes behave consistent now: oflow bin added for category axis, NaN always ends up in oflow bin for all axes 2018-07-22 12:13:14 +02:00
Hans Dembinski
d4dbae92f5 clang-format everything 2018-07-21 17:27:18 +02:00
Hans Dembinski
47d4d85301 use static_cast_visitor to simplify class implementation, removed custom axis::cast, use standard static_cast instead 2018-07-21 16:19:33 +02:00
Hans Dembinski
cb9e6696b6 missing files 2018-07-19 23:50:48 +02:00
Hans Dembinski
f5d1c0a00d internal refactoring and a bug fix 2018-07-19 23:48:48 +02:00
Hans Dembinski
2198ff883f clang format everything with new house style 2018-07-19 22:19:01 +02:00
Hans Dembinski
427fc5c9a1 refactoring of axes class hierarchy, implemented common base type optimization for axis::any 2018-07-19 00:25:13 +02:00
Hans Dembinski
bf945d990e fix osx 2018-07-17 21:36:27 +02:00
Hans Dembinski
6ff37c06f8 renamed bincount method to size, removed inline where it is not needed, added inline for free functions, made histogram iterator light-weight, put index cache into histogram class 2018-07-16 00:34:01 +02:00
Hans Dembinski
13db98a65b minor code refactoring, better performance for dynamic histogram without inline 2018-07-15 22:29:50 +02:00
Hans Dembinski
bb1518141d more coverage 2018-07-14 19:39:52 +02:00
Hans Dembinski
d83fe99cfc renamed axis.hpp to types.hpp 2018-07-14 18:10:44 +02:00
Hans Dembinski
bca4892d62 cleanup 2018-07-14 17:22:13 +02:00
Hans Dembinski
aed4255fc0 clang format 2018-07-14 16:59:22 +02:00
Hans Dembinski
4e25589f39 fix msvc 2018-07-14 16:33:17 +02:00
Hans Dembinski
0c48422bee fixing all 2018-07-14 16:17:22 +02:00
Hans Dembinski
75fb2a3cdc fixing msvc 2018-07-14 16:13:49 +02:00
Hans Dembinski
90830c4492 fixing msvc 2018-07-14 16:05:42 +02:00
Hans Dembinski
ceb095c840 fixing msvc 2018-07-14 15:58:31 +02:00
Hans Dembinski
bb9289c258 refactoring completed, all tests pass 2018-07-14 15:27:08 +02:00
Hans Dembinski
052585b488 work in progress, everything compiles again 2018-07-14 01:37:34 +02:00
Hans Dembinski
e1fa2fa644 work in progress 2018-07-13 23:21:04 +02:00
Hans Dembinski
39a3d1ad69 restored and tested for_each 2018-07-13 01:24:16 +02:00
Hans Dembinski
b5d2b36a25 work in progress: axis_test and detail_test working 2018-07-13 00:41:20 +02:00
Hans Dembinski
165d9dbec1 fix msvc 2018-07-11 23:52:00 +02:00
Hans Dembinski
f64387e2e9 attempt to fix msvc 2018-07-11 23:34:21 +02:00
Hans Dembinski
06d6635684 better coverage, more consistent exceptions, better handling of transforms 2018-07-11 22:41:42 +02:00
Hans Dembinski
2d470faf63 fixed histogram iterator 2018-07-11 11:08:56 +02:00
Hans Dembinski
da5f42b3da support for operator[] 2018-07-08 19:12:13 +02:00
Hans Dembinski
b9a35f7b4f renamed method bin to method at 2018-07-05 09:10:04 +02:00
Hans Dembinski
dfafc863fe more coverage 2018-07-05 01:05:30 +02:00
Hans Dembinski
4629a8296e fix some warnings 2018-07-05 00:21:42 +02:00
Hans Dembinski
43dbc112b3 fix python tests 2018-07-04 23:51:42 +02:00
Hans Dembinski
d03bf52ffa fix bug 2018-07-04 21:43:58 +02:00
Hans Dembinski
8d25563438 increase test coverage, simplify testing of python stuff, add support for tests which intentionally trigger an assert 2018-07-04 21:34:34 +02:00
Hans Dembinski
901750b15a missing for check castable 2018-07-04 21:19:10 +02:00
Hans Dembinski
b7c1a08b98 return copy instead of dangling reference, add op+ for double argument 2018-07-04 21:18:19 +02:00
Hans Dembinski
0c9f4c00b4 instead of implicitly convertible check explicitly convertible 2018-07-04 21:17:25 +02:00
Hans Dembinski
418715a249 dont copy arguments 2018-07-04 21:14:42 +02:00
Hans Dembinski
f9203a1159 fixed build, removed implicit conversion of weight_counter to double, make serialization really optional 2018-07-03 00:08:34 +02:00
Hans Dembinski
56ffce6223 fix of build system and some gcc warnings 2018-07-02 21:21:46 +02:00
Hans Dembinski
316789b765 fixed python tests, make debug build by default, started to reduce template dependencies 2018-07-02 13:08:07 +02:00
Hans Dembinski
6141ec0ed6 throw again on invalid user input 2018-07-02 09:54:56 +02:00
Hans Dembinski
cfd47c4c11 fixing most of the python errors 2018-07-02 01:01:04 +02:00
Hans Dembinski
5fc67137e4 issue 45: use operator() to fill; issue 44: removed sum(), use std::for_each or std::accumulate instead; added support for stl containers as fill and index arguments 2018-07-01 21:41:09 +02:00
jbuonagurio
c8993a9219 __attribute__((unused)) is a GCC extension; disable with MSVC. 2018-06-28 12:13:21 -04:00
jbuonagurio
6cb7774625 Fix for MSVC warning C4068: ignore GCC pragmas. 2018-06-28 12:09:56 -04:00
jbuonagurio
6eb9eaa44a Fix for MSVC error C3538: auto could be unsigned long or size_t in this context. 2018-06-28 12:02:52 -04:00
jbuonagurio
bdab3ba4b9 Workaround for MSVC errors C2976 and C3203: add specializations for all built-in types. 2018-06-28 12:00:45 -04:00
Hans Dembinski
e82284be99 clf 2018-03-28 16:58:40 +02:00
Hans Dembinski
e6c9d717c0 replacing bin method with operator() 2018-03-28 16:51:53 +02:00