Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite946f04

Browse files
authored
Merge pull requestahmedfgad#197 from apapadoi/apapadoi_bug_typo
Fix typo
2 parentsd5dac0c +0869b36 commite946f04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pygad/pygad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ def __init__(self,
445445
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.")
446446
elifnumpy.array(initial_population).ndim!=2:
447447
self.valid_parameters=False
448-
raiseValueError(f"A 2D list is expected to theinitail_population parameter but a ({numpy.array(initial_population).ndim}-D) list found.")
448+
raiseValueError(f"A 2D list is expected to theinitial_population parameter but a ({numpy.array(initial_population).ndim}-D) list found.")
449449
else:
450450
# Validate the type of each value in the 'initial_population' parameter.
451451
forrow_idxinrange(len(initial_population)):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp