Skip to content
GitLab
Menu
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
fa057b67
Commit
fa057b67
authored
Apr 08, 2020
by
Rouven Lemmerz
Browse files
Typo
parent
14daede2
Pipeline
#72489
passed with stages
in 19 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty6/sugar.py
View file @
fa057b67
...
...
@@ -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
Supports
Markdown
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