dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #09278
Patch for pyDolfin function.py
Hi
I added a simple warning message to the Function constructor in function.py
which is displayed if the constructor is called with 3 arguments and the
last one is not an instance of dolfin.Vector or Matrix.
I know that a warning is not a necessarily a long-term solution, but it
would at least assist new users such as myself in tracking down the source
of errors in their code.
Thanks
Evan
Attachment:
dolfin-elezar-2008-08-21.hg
Description: Binary data
Follow ups