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 9162065 commit 5566465
Showing 1 changed file with 1 addition and 1 deletion.
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 5566465

Please sign in to comment.