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


parent 6bc21c87
...@@ -182,7 +182,8 @@ class Linearization(object): ...@@ -182,7 +182,8 @@ class Linearization(object):
def make_const_empty_input(field, want_metric=False): def make_const_empty_input(field, want_metric=False):
from .operators.simple_linear_operators import NullOperator from .operators.simple_linear_operators import NullOperator
from .multi_domain import MultiDomain from .multi_domain import MultiDomain
return Linearization(field, NullOperator(MultiDomain.make({}), field.domain), return Linearization(
field, NullOperator(MultiDomain.make({}), field.domain),
want_metric=want_metric) want_metric=want_metric)
@staticmethod @staticmethod
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