Skip to content

Commit

Permalink
FIX Changelog typo and black formating
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasvestartas committed Jan 11, 2024
1 parent 2735b6e commit 85c5434
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Moved `compas.numerical.matrices` to `compas.topology.matrices`.
* Moved `compas.numerical.linalg` to `compas.geometry.linalg`.
* Changed `watchdog` dependency to be only required for platforms other than `emscripten`.
* Changed `compas.geometry.earclip_polygon` algorithm because the current one does handle several cases.
* Changed `compas.geometry.earclip_polygon` algorithm because the current one does not handle several cases.

### Removed

Expand Down
2 changes: 1 addition & 1 deletion src/compas/geometry/triangulation_earclip.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def triangulate(self):
If no more Ears were found for triangulation.
"""

if self.length < 3:
raise ValueError("Polygon must have at least 3 vertices.")
elif self.length == 3:
Expand Down

0 comments on commit 85c5434

Please sign in to comment.