Skip to content

Commit

Permalink
Merge pull request #48 from felixreimann/bugConvergenceScript
Browse files Browse the repository at this point in the history
fixed bug in the e-dominance script
  • Loading branch information
FedorSmirnov89 committed Sep 18, 2018
2 parents 28b44c3 + b81e5b0 commit d824484
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/distribution/bin/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,10 @@ def doResults(basefolder):
zenit = getMin(zenit)

# adjust nadir in case an objective is equal for nadir and zenit
nadmin = [x if x < y else x + 1 for x, y in zip(nadir.minvalues, zenit.minvalues)]
nadir = Sample(Sample.invValues(nadmin));
# the values are inverted at this point (all Objectives are to be minimized) => in the normal case, x, the nadir
# value, has to be worse, that is bigger
nadmin = [x if x > y else x + 1 for x, y in zip(nadir.minvalues, zenit.minvalues)]
nadir = Sample(Sample.invValues(nadmin))

global gNadir
gNadir = nadir.values
Expand Down

0 comments on commit d824484

Please sign in to comment.