Skip to content

Commit

Permalink
quick bug fix 0.1.1
Browse files Browse the repository at this point in the history
change if inputs == None to if inputs is None
  • Loading branch information
Lukas0025 committed Nov 10, 2019
1 parent cdce00e commit b598ba7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PYSNN/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def evolutionFit(self, inputs=None, targets=None, rate=1, replication=20, epochs
targets = targets,
lossfunc = lossfunc,
offset = offset,
toComplete = (len(inputs) * replication) if inputs != None else 0,
toComplete = 0 if inputs is None else (len(inputs) * replication),
epoch = epoch,
epochs = epochs
)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="PYSNN",
version="0.1.0",
version="0.1.1",
author="Lukáš Plevač",
author_email="[email protected]",
description="PYthon Simple Neural Network - PYSNN is python3 lib for machine learning",
Expand Down

0 comments on commit b598ba7

Please sign in to comment.