Commit ec50fcc0 authored by Martin Reinecke's avatar Martin Reinecke

fixes

parent e6c68918
Pipeline #29589 passed with stages
in 11 minutes and 5 seconds
......@@ -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):
......
......@@ -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)
......
Markdown is supported
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