Commit Graph

4 Commits

Author SHA1 Message Date
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
c8b8c4d502
Fix accumulator issues (#72)
* add weighted_mean::sum_of_weights_squared
* sum of default constructed mean and weighted_mean is now equal to default constructed object
* thread-safe returns a reference to self in operators just like the other accumulators
2019-10-26 11:12:29 +02:00
Hans Dembinski
9dd4a04a10
Separate serialization code from Boost.Serialization 2019-10-20 21:40:02 +01: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