Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Vasudevan, Rama K
pycroscopy
Commits
1be1c197
Commit
1be1c197
authored
Nov 09, 2017
by
Unknown
Browse files
Bugfix to keep Python2.7 support
parent
a55dad49
Changes
1
Hide whitespace changes
Inline
Side-by-side
pycroscopy/analysis/optimize.py
View file @
1be1c197
...
...
@@ -160,7 +160,7 @@ class Optimize(object):
solver
=
scipy
.
optimize
.
__dict__
[
self
.
solver_type
]
values
=
[
joblib
.
delayed
(
solver
)(
self
.
obj_func
,
guess
,
args
=
[
vector
,
*
self
.
obj_func_args
]
,
args
=
[
vector
]
+
list
(
self
.
obj_func_args
)
,
**
solver_options
)
for
vector
,
guess
in
zip
(
self
.
data
,
self
.
guess
)]
results
=
joblib
.
Parallel
(
n_jobs
=
processors
)(
values
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment