Skip to content

Commit

Permalink
VERSION 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Blank committed Aug 15, 2019
1 parent a352de6 commit ba68e73
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pymoo/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.1rc5"
__version__ = "0.3.1"
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import distutils
import os
import sys
import traceback
from distutils.errors import CCompilerError, DistutilsExecError, DistutilsPlatformError

import setuptools
from setuptools import setup, Extension
Expand Down
7 changes: 4 additions & 3 deletions tests/performance_indicator/test_performance_indicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,16 @@ def test_values_of_indicators(self):
(GD, "gd"),
(IGD, "igd")
]
pf = np.loadtxt("performance_indicators.pf")
folder = os.path.join(get_pymoo(), "tests", "performance_indicator")
pf = np.loadtxt(os.path.join(folder, "performance_indicators.pf"))

for indicator, ext in l:

for i in range(1, 5):
F = np.loadtxt("performance_indicators_%s.f" % i)
F = np.loadtxt(os.path.join(folder, "performance_indicators_%s.f" % i))

val = indicator(pf).calc(F)
correct = np.loadtxt("performance_indicators_%s.%s" % (i, ext))
correct = np.loadtxt(os.path.join(folder, "performance_indicators_%s.%s" % (i, ext)))
self.assertTrue(correct == val)

def test_performance_indicator_1(self):
Expand Down

0 comments on commit ba68e73

Please sign in to comment.