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
5fc303ca
Commit
5fc303ca
authored
Sep 08, 2016
by
theos
Browse files
Fixed a dtype bug in slicing_transformation.py
parent
0fcd7cdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty/operators/fft_operator/transformations/slicing_transformation.py
View file @
5fc303ca
...
...
@@ -19,8 +19,7 @@ class SlicingTransformation(Transformation):
for
slice_list
in
utilities
.
get_slice_list
(
val
.
shape
,
axes
):
if
return_val
is
None
:
return_val
=
val
.
copy_empty
(
dtype
=
self
.
codomain
.
dtype
,
global_shape
=
return_shape
)
return_val
=
val
.
copy_empty
(
global_shape
=
return_shape
)
data
=
val
.
get_data
(
slice_list
,
copy
=
False
)
data
=
data
.
get_full_data
()
...
...
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