Commit a2acd883 authored by Marco Selig's avatar Marco Selig
Browse files

alpha retrieval implemented.

parent f1e913f5
...@@ -1044,8 +1044,11 @@ class steepest_descent(object): ...@@ -1044,8 +1044,11 @@ class steepest_descent(object):
self.x = x0 self.x = x0
## check for exsisting alpha ## check for exsisting alpha
if(alpha is None)and(self._alpha is not None): if(alpha is None):
alpha = self._alpha if(self._alpha is not None):
alpha = self._alpha
else:
alpha = 1
clevel = max(1,int(clevel)) clevel = max(1,int(clevel))
limii = int(limii) limii = int(limii)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment