diff --git a/gaft/engine.py b/gaft/engine.py index d492a30..852c508 100644 --- a/gaft/engine.py +++ b/gaft/engine.py @@ -363,6 +363,7 @@ def minimize(self, fn): ''' A decorator for minimizing the fitness function. ''' + @wraps(fn) def _minimize(indv): return -fn(indv) return _minimize