Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
4732746a
Commit
4732746a
authored
Aug 10, 2018
by
Martin Reinecke
Browse files
fix
parent
efa20a5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/minimization/scipy_minimizer.py
View file @
4732746a
...
...
@@ -61,7 +61,7 @@ def _toArray_rw(fld):
def
_toField
(
arr
,
template
):
if
isinstance
(
template
,
Field
):
return
Field
.
from_local_data
(
template
.
domain
,
arr
.
reshape
(
dom
.
shape
).
copy
())
arr
.
reshape
(
template
.
shape
).
copy
())
ofs
=
0
res
=
[]
for
v
in
template
.
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