diff --git a/CHANGELOG.md b/CHANGELOG.md index fa043de..2fb62c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.1.0] - 2023-11-18 + +### Changed +- `curve_length_measure` not supports curves with negative means! Thanks to a contribution by [Schmetzler](https://github.com/Schmetzler) in [PR37](https://github.com/cjekel/similarity_measures/pull/37) + ## [1.0.0] - 2023-10-07 ### Changed diff --git a/docs/similaritymeasures.html b/docs/similaritymeasures.html index 657b654..3c615c4 100644 --- a/docs/similaritymeasures.html +++ b/docs/similaritymeasures.html @@ -453,8 +453,8 @@

Module similaritymeasures.similaritymeasures

xtemp = np.interp(lieq, lc_sum, x_c) ytemp = np.interp(lieq, lc_sum, y_c) - r_sq[i] = np.log(1.0 + (np.abs(xtemp-x_e[i])/xmean))**2 + \ - np.log(1.0 + (np.abs(ytemp-y_e[i])/ymean))**2 + r_sq[i] = np.log(1.0 + (np.abs((xtemp-x_e[i])/xmean)))**2 + \ + np.log(1.0 + (np.abs((ytemp-y_e[i])/ymean)))**2 return np.sqrt(np.sum(r_sq)) @@ -1217,8 +1217,8 @@

Examples

xtemp = np.interp(lieq, lc_sum, x_c) ytemp = np.interp(lieq, lc_sum, y_c) - r_sq[i] = np.log(1.0 + (np.abs(xtemp-x_e[i])/xmean))**2 + \ - np.log(1.0 + (np.abs(ytemp-y_e[i])/ymean))**2 + r_sq[i] = np.log(1.0 + (np.abs((xtemp-x_e[i])/xmean)))**2 + \ + np.log(1.0 + (np.abs((ytemp-y_e[i])/ymean)))**2 return np.sqrt(np.sum(r_sq)) diff --git a/docs/version.html b/docs/version.html index 7152d5d..cdd6d3d 100644 --- a/docs/version.html +++ b/docs/version.html @@ -26,7 +26,7 @@

Module similaritymeasures.version

Expand source code -
__version__ = "1.0.0"
+
__version__ = "1.1.0"
diff --git a/similaritymeasures/version.py b/similaritymeasures/version.py index 5becc17..6849410 100644 --- a/similaritymeasures/version.py +++ b/similaritymeasures/version.py @@ -1 +1 @@ -__version__ = "1.0.0" +__version__ = "1.1.0"