Commit Graph

325 Commits

Author SHA1 Message Date
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
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