Commit 6dd5a62f authored by Martin Reinecke's avatar Martin Reinecke
Browse files


parent 35dc4f9b
Pipeline #47459 passed with stages
in 8 minutes and 14 seconds
......@@ -103,7 +103,9 @@ class GLSpace(StructuredDomain):
The partner domain
from 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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment