Commit 966f258b authored by Martin Reinecke's avatar Martin Reinecke

fixes

parent db6c8996
......@@ -23,6 +23,8 @@ from ..sugar import makeOp
from ..utilities import NiftyMetaBase
# MR FIXME: it seems that the code expects that the position of a Model is
# always a MultiField ... should we document this?
class Model(NiftyMetaBase()):
"""
The Model object is an implementation of a * which knows:
......
......@@ -31,5 +31,3 @@ def MultiAdaptor(target):
if not isinstance(target, MultiDomain) or len(target) > 1:
raise TypeError
return SelectionOperator(target,target.keys()[0]).adjoint
self._target = target
self._domain = list(target.values())[0]
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