packages feed

ekg-core 0.1.1.5 → 0.1.1.6

raw patch · 3 files changed

+8/−8 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGES.md view
@@ -1,7 +1,12 @@+## 0.1.1.6 (2018-11-19)++ * Reverted [#25](https://github.com/tibbe/ekg-core/pull/25), which+   introduced a regression.+ ## 0.1.1.5 (2018-11-19)   * GHC 8.6 support ([#28](https://github.com/tibbe/ekg-core/pull/28)).- * Don't combine distribution if count == 0 ([#25](https://github.com/tibbe/ekg-core/pull/25)).+ * Bugfix: avoid division by zero ([#25](https://github.com/tibbe/ekg-core/pull/25)).  ## 0.1.1.4 (2018-02-27) 
cbits/distrib.c view
@@ -29,11 +29,6 @@ // http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Parallel_algorithm void hs_distrib_combine(struct distrib* b, struct distrib* a) {   hs_lock(&b->lock);--  if (!b->count) {-    return;-  }-   const StgInt64 count = a->count + b->count;   const StgDouble delta = b->mean - a->mean;   const StgDouble mean = (a->count * a->mean + b->count * b->mean) / count;
ekg-core.cabal view
@@ -1,5 +1,6 @@+cabal-version:       1.18 name:                ekg-core-version:             0.1.1.5+version:             0.1.1.6 synopsis:            Tracking of system metrics description:   This library lets you defined and track system metrics.@@ -13,7 +14,6 @@ category:            System build-type:          Simple extra-source-files:  CHANGES.md-cabal-version:       >=1.10 tested-with:         GHC == 8.6.2, GHC == 8.4.4,  GHC == 8.2.2,                      GHC == 8.0.2, GHC == 7.10.3, GHC == 7.8.4,                      GHC == 7.6.3