Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
4aeab4c5
Commit
4aeab4c5
authored
Apr 08, 2020
by
Martin Reinecke
Browse files
Merge branch 'pointwise' of gitlab.mpcdf.mpg.de:ift/nifty into pointwise
parents
f24e26e9
fa057b67
Changes
1
Show whitespace changes
Inline
Side-by-side
nifty6/sugar.py
View file @
4aeab4c5
...
...
@@ -341,7 +341,7 @@ def makeOp(input, dom=None):
if
input
is
None
:
return
None
if
np
.
isscalar
(
input
):
if
not
isinstance
(
dom
,
(
DomaiTuple
,
MultiDomain
)):
if
not
isinstance
(
dom
,
(
Domai
n
Tuple
,
MultiDomain
)):
raise
TypeError
(
"need proper `dom` argument"
)
return
SalingOperator
(
dom
,
input
)
if
dom
is
not
None
:
...
...
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