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
ec50fcc0
Commit
ec50fcc0
authored
May 22, 2018
by
Martin Reinecke
Browse files
fixes
parent
e6c68918
Pipeline
#29589
passed with stages
in 11 minutes and 5 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
nifty4/operators/scaling_operator.py
View file @
ec50fcc0
...
...
@@ -21,6 +21,7 @@ import numpy as np
from
..field
import
Field
from
..multi.multi_field
import
MultiField
from
.endomorphic_operator
import
EndomorphicOperator
from
..domain_tuple
import
DomainTuple
class
ScalingOperator
(
EndomorphicOperator
):
...
...
nifty4/sugar.py
View file @
ec50fcc0
...
...
@@ -197,7 +197,7 @@ def from_local_data(domain, arr):
def
makeDomain
(
domain
):
if
isinstance
(
domain
,
dict
):
if
isinstance
(
domain
,
(
MultiDomain
,
dict
)
)
:
return
MultiDomain
.
make
(
domain
)
return
DomainTuple
.
make
(
domain
)
...
...
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