Skip to content

Commit 2c2eb0c

Browse files
committed
Don't call step in init_step
1 parent 2de8cb6 commit 2c2eb0c

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/evox/algorithms/so/de_variants/de.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ def init_step(self):
9999
This method evaluates the fitness of the initial population and then calls the `step` method to perform the first optimization iteration.
100100
"""
101101
self.fit = self.evaluate(self.pop)
102-
self.step()
103102

104103
def step(self):
105104
"""

src/evox/algorithms/so/de_variants/jade.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ def init_step(self):
8484
This method evaluates the fitness of the initial population and then calls the `step` method to perform the first optimization iteration.
8585
"""
8686
self.fit = self.evaluate(self.pop)
87-
self.step()
8887

8988
def step(self):
9089
"""

src/evox/algorithms/so/de_variants/ode.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ def init_step(self):
9999
This method evaluates the fitness of the initial population and then calls the `step` method to perform the first optimization iteration.
100100
"""
101101
self.fit = self.evaluate(self.pop)
102-
self.step()
103102

104103
def step(self):
105104
"""

0 commit comments

Comments
 (0)