diff --git a/MDAF/MDAF.py b/MDAF/MDAF.py index da15be8..73ab06b 100644 --- a/MDAF/MDAF.py +++ b/MDAF/MDAF.py @@ -219,8 +219,8 @@ def representfunc(funcpath, forced = False): def doe(heuristicpath, testfunctionpaths, args): - for i,path in enumerate(testfunctionpaths): - if path.find('@') == 0: + for i,funpath in enumerate(testfunctionpaths): + if funpath.find('@') == 0: testfunctionpaths[i] = path.dirname(__file__) + '/TestFunctions/' + testfunctionpaths[1:] if (heuristicpath.find('@') == 0): heuristicpath = path.dirname(__file__) + '/TestFunctions/' + heuristicpath[1:] diff --git a/MDAF/__pycache__/MDAF.cpython-39.pyc b/MDAF/__pycache__/MDAF.cpython-39.pyc index e140d5d..3108f52 100644 Binary files a/MDAF/__pycache__/MDAF.cpython-39.pyc and b/MDAF/__pycache__/MDAF.cpython-39.pyc differ