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
bb223a89
Commit
bb223a89
authored
Jun 27, 2018
by
Philipp Arras
Browse files
Fixup
parent
e25aecb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/operators/domain_distributor.py
View file @
bb223a89
...
...
@@ -5,12 +5,12 @@ from .. import dobj
from
..domain_tuple
import
DomainTuple
from
.linear_operator
import
LinearOperator
if
dobj
.
ntask
>
1
:
raise
NotImplementedError
(
'UpProj class does not support MPI.'
)
class
DomainDistributor
(
LinearOperator
):
def
__init__
(
self
,
target
,
axis
):
# TODO Replace this by a DiagonalOperator
if
dobj
.
ntask
>
1
:
raise
NotImplementedError
(
'UpProj class does not support MPI.'
)
assert
len
(
target
)
==
2
assert
axis
in
[
0
,
1
]
...
...
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