Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NIFTy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ift
NIFTy
Commits
ec50fcc0
There was a problem fetching the pipeline summary.
Commit
ec50fcc0
authored
7 years ago
by
Martin Reinecke
Browse files
Options
Downloads
Patches
Plain Diff
fixes
parent
e6c68918
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
nifty4/operators/scaling_operator.py
+1
-0
1 addition, 0 deletions
nifty4/operators/scaling_operator.py
nifty4/sugar.py
+1
-1
1 addition, 1 deletion
nifty4/sugar.py
with
2 additions
and
1 deletion
nifty4/operators/scaling_operator.py
+
1
−
0
View file @
ec50fcc0
...
@@ -21,6 +21,7 @@ import numpy as np
...
@@ -21,6 +21,7 @@ import numpy as np
from
..field
import
Field
from
..field
import
Field
from
..multi.multi_field
import
MultiField
from
..multi.multi_field
import
MultiField
from
.endomorphic_operator
import
EndomorphicOperator
from
.endomorphic_operator
import
EndomorphicOperator
from
..domain_tuple
import
DomainTuple
class
ScalingOperator
(
EndomorphicOperator
):
class
ScalingOperator
(
EndomorphicOperator
):
...
...
This diff is collapsed.
Click to expand it.
nifty4/sugar.py
+
1
−
1
View file @
ec50fcc0
...
@@ -197,7 +197,7 @@ def from_local_data(domain, arr):
...
@@ -197,7 +197,7 @@ def from_local_data(domain, arr):
def
makeDomain
(
domain
):
def
makeDomain
(
domain
):
if
isinstance
(
domain
,
dict
):
if
isinstance
(
domain
,
(
MultiDomain
,
dict
)
)
:
return
MultiDomain
.
make
(
domain
)
return
MultiDomain
.
make
(
domain
)
return
DomainTuple
.
make
(
domain
)
return
DomainTuple
.
make
(
domain
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment