Changeset 1139 for framspy/evolalg/selection/identity.py
- Timestamp:
- 05/08/21 12:42:58 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/evolalg/selection/identity.py
r1113 r1139 6 6 7 7 class IdentitySelection(Selection): 8 def __init__(self, copy=False ):9 super(IdentitySelection, self).__init__(copy )8 def __init__(self, copy=False, *args, **kwargs): 9 super(IdentitySelection, self).__init__(copy, *args, **kwargs) 10 10 11 11 def call(self, population, selection_size=None): 12 super(IdentitySelection, self).call(population) 12 13 res = population 13 14 if selection_size is not None:
Note: See TracChangeset
for help on using the changeset viewer.