- edited description
MixedFunctionSpace leftover in functionspace.py
Issue #715
resolved
Just a minor issue. The deprecated MixedFunctionSpace is still found in functionspace.py leading to errors like this when using old-style mixed elements:
V = FunctionSpace(...
VV = V*V
NameError Traceback (most recent call last)
<ipython-input-4-451b2a4b7bec> in <module>()
----> 1 VV = V*V
/home/mikael/Software/Fenics/opt/dev/lib/python2.7/site-packages/dolfin/functions/functionspace.pyc in __mul__(self, other)
299 def __mul__(self, other):
300 "Create mixed function space."
--> 301 return MixedFunctionSpace((self, other))
302
303 def __str__(self):
Should probably delete the __mul__
functionality or give a more meaningful error message.
Comments (6)
-
reporter -
reporter - edited description
-
-
assigned issue to
Thanks, fixed pushed to
jan/fix-issue-715
. -
assigned issue to
-
reporter - changed status to resolved
-
- changed status to open
Not yet in master.
-
- changed status to resolved
Fixed by 02b2b0abd428ea1bf93b806d5e0919e5e7295c7a. Thanks Mikael for reporting.
- Log in to comment