diff --git a/MDAF/MDAF.py b/MDAF/MDAF.py index 73ab06b..f599c72 100644 --- a/MDAF/MDAF.py +++ b/MDAF/MDAF.py @@ -221,7 +221,7 @@ def representfunc(funcpath, forced = False): def doe(heuristicpath, testfunctionpaths, args): for i,funpath in enumerate(testfunctionpaths): if funpath.find('@') == 0: - testfunctionpaths[i] = path.dirname(__file__) + '/TestFunctions/' + testfunctionpaths[1:] + testfunctionpaths[i] = path.dirname(__file__) + '/TestFunctions/' + funpath[1:] if (heuristicpath.find('@') == 0): heuristicpath = path.dirname(__file__) + '/TestFunctions/' + heuristicpath[1:]