Commit 492b980a authored by Unknown's avatar Unknown
Browse files

Fixed Optimize bug

Switched from using pop to get in _initiateSolverAndObjFunc.  It was causing the fit to fail on large datasets.
parent 981f647d
version = '0.58.1'
date = '10/09/2017'
time = '8:50:32'
version = '0.58.2'
date = '10/19/2017'
time = '1:05:51'
......@@ -117,9 +117,9 @@ class Optimize(object):
if obj_func['class'] is None:
self.obj_func = obj_func['obj_func']
else:
self.obj_func_name = obj_func.pop('obj_func')
self.obj_func_name = obj_func.get('obj_func')
self.obj_func = fm.__getattribute__(self.obj_func_name)
self.obj_func_class = obj_func.pop('class')
self.obj_func_class = obj_func.get('class')
self.obj_func_args = obj_func.values()
def computeFit(self, processors=1, solver_type='least_squares', solver_options={},
......
......@@ -20,7 +20,7 @@ else:
setup(
name='pycroscopy',
version='0.58.1',
version='0.58.2',
description='A suite of Python libraries for high performance scientific computing of microscopy data.',
long_description=long_description,
classifiers=[
......
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