fixing bug (#300)
Co-authored-by: Monthly Tag bot <mtbot@noreply.github.com>
This commit is contained in:
@@ -36,7 +36,7 @@ class CartesianDomain(Location):
|
||||
:return: Spatial variables defined in ``__init__()``
|
||||
:rtype: list[str]
|
||||
"""
|
||||
return list(self.fixed_.keys()) + list(self.range_.keys())
|
||||
return sorted(list(self.fixed_.keys()) + list(self.range_.keys()))
|
||||
|
||||
def update(self, new_domain):
|
||||
"""Adding new dimensions on the ``CartesianDomain``
|
||||
|
||||
Reference in New Issue
Block a user