Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ift
NIFTy
Commits
5fc303ca
Commit
5fc303ca
authored
Sep 08, 2016
by
theos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a dtype bug in slicing_transformation.py
parent
0fcd7cdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
nifty/operators/fft_operator/transformations/slicing_transformation.py
...rs/fft_operator/transformations/slicing_transformation.py
+1
-2
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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