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
8bdf38d0
Commit
8bdf38d0
authored
Jul 10, 2018
by
Martin Reinecke
Browse files
fix
parent
0bbf98ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/operators/null_operator.py
View file @
8bdf38d0
...
...
@@ -42,7 +42,7 @@ class NullOperator(LinearOperator):
@
staticmethod
def
_nullfield
(
dom
):
if
isinstance
(
dom
,
DomainTuple
):
return
Field
.
full
(
self
.
_target
,
0
)
return
Field
.
full
(
dom
,
0
)
else
:
return
MultiField
(
dom
,
(
None
,)
*
len
(
dom
))
...
...
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