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
6dd5a62f
Commit
6dd5a62f
authored
Apr 29, 2019
by
Martin Reinecke
Browse files
fix
parent
35dc4f9b
Pipeline
#47459
passed with stages
in 8 minutes and 14 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
nifty5/domains/gl_space.py
View file @
6dd5a62f
...
...
@@ -103,7 +103,9 @@ class GLSpace(StructuredDomain):
The partner domain
"""
from
..domains.lm_space
import
LMSpace
return
LMSpace
(
lmax
=
self
.
_nlat
-
1
,
mmax
=
self
.
_nlon
//
2
)
mmax
=
self
.
_nlon
//
2
lmax
=
max
(
mmax
,
self
.
_nlat
-
1
)
return
LMSpace
(
lmax
=
lmax
,
mmax
=
mmax
)
def
check_codomain
(
self
,
codomain
):
"""Raises `TypeError` if `codomain` is not a matching partner 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