Skip to content

Commit

Permalink
Fixed bug with adjusters
Browse files Browse the repository at this point in the history
Updated version number
  • Loading branch information
evtyz committed Jul 12, 2020
1 parent 19270d6 commit 6b624ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shapevolve/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Shapevolve: A genetic algorithm to recreate artworks using simple shapes, with Python 3."""

__version__ = "0.1.2"
__version__ = "0.1.3"
2 changes: 1 addition & 1 deletion shapevolve/genome.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def render_image(self, height, width, sequence, after_unadjustment):

for gene in sequence:
self.draw(image, gene, self.palette)
if after_unadjustment:
if not after_unadjustment:
image = unadjust(image, self.adjusters)
return image

Expand Down

0 comments on commit 6b624ad

Please sign in to comment.