Skip to content

Commit 5566465

Browse files
author
Julian Blank
committed
Fix == for star
1 parent 9162065 commit 5566465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymoo/model/problem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def func(_x):
411411
if _type is None:
412412
[ret.append(func(x)) for x in X]
413413

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

0 commit comments

Comments
 (0)