Commit Graph

309 Commits

Author SHA1 Message Date
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
Hans Dembinski
dac1a0c0be clang format 2018-03-28 13:22:10 +02:00
Hans Dembinski
23378345e7 STL support, making weight_counter implicitly convertible to RealType so that stl algorithms work with iterators 2018-03-28 12:05:10 +02:00
Hans Dembinski
8dc93c83d2 clang format 2018-03-15 21:06:41 +01:00
Hans Dembinski
6e7673204c better testing of adaptive_storage without using brittle tricks 2018-03-15 20:44:00 +01:00
Hans Dembinski
88ccfee628 simplified and corrected headers 2018-03-14 23:16:35 +01:00
Hans Dembinski
69064b3a54 increased coverage 2018-03-14 22:59:17 +01:00
Hans Dembinski
acb0a38d20 fixed iterator::bin() method; got rid of explicit specialization; more tests 2018-03-13 21:18:23 +01:00
Hans Dembinski
ce93a88986 renamed Storage::bin_type to element_type; added Storage::const_reference; renamed histogram::bin_iterator to const_iterator; added bin(unsigned) method to histogram::const_iterator, which returns the current bin_type for that dimension 2018-03-13 00:26:41 +01:00
Hans Dembinski
bb41363d6d consistent naming 2018-03-12 20:58:14 +01:00
Hans Dembinski
3a7c8cb715 always return matching types in bin_views 2018-03-11 20:51:03 +01:00
Hans Dembinski
37ccf6d80c finally elegant iteration over axis bins 2018-03-11 19:59:03 +01:00
Hans Dembinski
fe4bd1701d switched to lazy interval_view to improve performance 2018-03-11 17:08:13 +01:00
Hans Dembinski
5a546b0971 clang-format 2018-03-10 22:51:54 +01:00
Hans Dembinski
460b417338 slightly more coverage 2018-03-10 22:51:08 +01:00
Hans Dembinski
18a5936490 superfluous return statements 2018-03-10 21:30:50 +01:00
Hans Dembinski
22f0510b0d fixing gcc issues 2018-03-10 21:29:48 +01:00
Hans Dembinski
8e904a3645 added reverse iterators, simplified code 2018-03-10 20:20:32 +01:00
Hans Dembinski
541ca5eb32 simplification and clean-up 2018-03-02 17:21:28 +01:00
Hans Dembinski
8b11d8cdc5 fixed all the bugs and all the tests 2018-03-01 18:11:50 +01:00
Hans Dembinski
f1b711d634 separate bin type properties from histogram interface, made interface more flexible, histogram_test is failing, needs investigation 2018-03-01 15:57:55 +01:00
Hans Dembinski
d2e2d23c77 clang-format 2018-02-28 23:14:28 +01:00
Hans Dembinski
3e825b449a make type of weight argument flexible, added sample type, some simplification to fill argument parsing 2018-02-28 23:07:36 +01:00
Hans Dembinski
707adf08a5 minor improvements 2018-01-18 11:03:13 +01:00
Hans Dembinski
90b0e7f9c5 corrected error message 2017-12-13 13:24:20 +01:00
Hans Dembinski
0109ab04e3 removing all the forwarding 2017-12-10 23:02:31 +01:00
Hans Dembinski
6b691543b8 added variance iterator, lin_visitor does not need to be templated 2017-12-10 22:01:59 +01:00
Hans Dembinski
6068e96dab clang format and renaming iterator header 2017-12-10 20:39:27 +01:00
Hans Dembinski
d6b06a0022 back to histogram master template 2017-12-10 20:05:35 +01:00
Hans Dembinski
c64b2356bd fix increment logic 2017-11-28 22:53:45 +01:00
Hans Dembinski
739625e531 update copyright notice and renamed axis_iterator 2017-11-28 22:21:03 +01:00
Hans Dembinski
febe1b5e07 fix some warnings 2017-11-28 18:10:48 +01:00
Hans Dembinski
9b8540f840 fix travis 2017-11-28 17:47:16 +01:00
Hans Dembinski
09028f390c fix travis 2017-11-28 17:38:13 +01:00
Hans Dembinski
470492c748 adding value_iterator for histogram, make weight_counter public, allow passing weight_counter as argument to array_storage 2017-11-28 15:55:18 +01:00
Hans Dembinski
06dda8c765 fix for issue #34 2017-11-20 11:22:29 +01:00
Hans Dembinski
1f3335fe9c dont include array_storage by default 2017-11-13 11:37:18 +01:00