You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pygad/pygad.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -445,7 +445,7 @@ def __init__(self,
445
445
raiseTypeError(f"The value assigned to the 'initial_population' parameter is expected to by of type list, tuple, or ndarray but {type(initial_population)} found.")
446
446
elifnumpy.array(initial_population).ndim!=2:
447
447
self.valid_parameters=False
448
-
raiseValueError(f"A 2D list is expected to the initail_population parameter but a ({numpy.array(initial_population).ndim}-D) list found.")
448
+
raiseValueError(f"A 2D list is expected to the initial_population parameter but a ({numpy.array(initial_population).ndim}-D) list found.")
449
449
else:
450
450
# Validate the type of each value in the 'initial_population' parameter.
0 commit comments