Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIFTy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
13
Merge Requests
13
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
NIFTy
Commits
ec50fcc0
Commit
ec50fcc0
authored
May 22, 2018
by
Martin Reinecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
nifty4/operators/scaling_operator.py
nifty4/operators/scaling_operator.py
+1
-0
nifty4/sugar.py
nifty4/sugar.py
+1
-1
No files found.
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
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