Skip to content

Commit

Permalink
changelog and documenation for latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
cjekel committed Dec 21, 2019
1 parent bbb8693 commit bba28b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ 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).

## [0.4.2] - 2019-12-21
### Changed
- There was bug in testing for a complex quadrilateral that made me incorrectly change the is_simple_quad function. This bug has existed in the area function since August, and should be fixed now. Thanks to @aanchalMongia for the detailed report in https://github.com/cjekel/similarity_measures/issues/7 .

## [0.4.1] - 2019-12-20
### Changed
- Fix bug in simple quad check; simple quads occur with two or four positive cross products, or with two or four negative cross products.
Expand Down
8 changes: 2 additions & 6 deletions docs/similaritymeasures.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ <h1 class="title">Module <code>similaritymeasures.similaritymeasures</code></h1>
# Because they don&#39;t necessarily need to lie in the same &#39;Z&#39; direction
if sum(crossTF) &lt;= 1:
crossTF = cross &lt;= 0
if sum(crossTF) == 2:
return True
elif sum(crossTF) == 4:
if sum(crossTF) &gt; 2:
return True
else:
return False
Expand Down Expand Up @@ -1879,9 +1877,7 @@ <h2 id="returns">Returns</h2>
# Because they don&#39;t necessarily need to lie in the same &#39;Z&#39; direction
if sum(crossTF) &lt;= 1:
crossTF = cross &lt;= 0
if sum(crossTF) == 2:
return True
elif sum(crossTF) == 4:
if sum(crossTF) &gt; 2:
return True
else:
return False</code></pre>
Expand Down

0 comments on commit bba28b7

Please sign in to comment.