Skip to content

Commit

Permalink
Fix == for star
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Blank committed Sep 4, 2020
1 parent edbb420 commit f96b76c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/source/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
News
==============================================================================

**August 7, 2020:** We are more than happy to announce that a new version of pymoo (version **0.4.2**) is available. This version
**September 4, 2020:** We are more than happy to announce that a new version of pymoo (version **0.4.2**) is available. This version
has some new features and evolutionary operators, as well as an improved getting, started guide.
For more details, please have a look at the release notes.
(:ref:`Release Notes<version_0_4_2>`)
Expand Down
2 changes: 1 addition & 1 deletion doc/source/news_current.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
**August 7, 2020:** We are more than happy to announce that a new version of pymoo (version **0.4.2**) is available. This version
**September 4, 2020:** We are more than happy to announce that a new version of pymoo (version **0.4.2**) is available. This version
has some new features and evolutionary operators, as well as an improved getting, started guide.
For more details, please have a look at the release notes.
(:ref:`Release Notes<version_0_4_2>`)
Expand Down
2 changes: 1 addition & 1 deletion pymoo/model/problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def func(_x):
if _type is None:
[ret.append(func(x)) for x in X]

elif _type is "starmap":
elif _type == "starmap":
if len(_params) != 1:
raise Exception("The starmap parallelization method must be accompanied by a starmapping callable")

Expand Down

0 comments on commit f96b76c

Please sign in to comment.