Skip to content

Commit

Permalink
Merge pull request #73 from iraikov/fix/filter-evals
Browse files Browse the repository at this point in the history
Fix invalid feature indexing in _reduce_evals
  • Loading branch information
iraikov committed Jan 17, 2024
2 parents 2727ecd + ddbc88c commit d5ce190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dmosopt/dmosopt.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def _reduce_evals(self):
if self.c is not None:
self.c = self.c[perm[0 : self.population_size], :]
if self.f is not None:
self.f = self.f[perm[0 : self.population_size], :]
self.f = self.f[perm[0 : self.population_size]]

def _update_evals(self):
result = None
Expand Down

0 comments on commit d5ce190

Please sign in to comment.