Commit Graph

387 Commits

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