Skip to content

Commit

Permalink
prep for 1.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
cjekel committed Nov 18, 2023
1 parent 3ceb3a1 commit e180a1b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions docs/similaritymeasures.html
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ <h1 class="title">Module <code>similaritymeasures.similaritymeasures</code></h1>
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))


Expand Down Expand Up @@ -1217,8 +1217,8 @@ <h2 id="examples">Examples</h2>
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))</code></pre>
</details>
</dd>
Expand Down
2 changes: 1 addition & 1 deletion docs/version.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h1 class="title">Module <code>similaritymeasures.version</code></h1>
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">__version__ = &#34;1.0.0&#34;</code></pre>
<pre><code class="python">__version__ = &#34;1.1.0&#34;</code></pre>
</details>
</section>
<section>
Expand Down
2 changes: 1 addition & 1 deletion similaritymeasures/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.0"
__version__ = "1.1.0"

0 comments on commit e180a1b

Please sign in to comment.