Commit 4aeab4c5 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'pointwise' of into pointwise

parents f24e26e9 fa057b67
......@@ -341,7 +341,7 @@ def makeOp(input, dom=None):
if input is None:
return None
if np.isscalar(input):
if not isinstance(dom, (DomaiTuple, MultiDomain)):
if not isinstance(dom, (DomainTuple, MultiDomain)):
raise TypeError("need proper `dom` argument")
return SalingOperator(dom, input)
if dom is not None:
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