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):
self.x = x0
## check for exsisting alpha
if(alpha is None)and(self._alpha is not None):
alpha = self._alpha
if(alpha is None):
if(self._alpha is not None):
alpha = self._alpha
else:
alpha = 1
clevel = max(1,int(clevel))
limii = int(limii)
......
Markdown is supported
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