Assigning a Function to another Function does not work.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Fix Released
|
High
|
Unassigned |
Bug Description
There is an error when one wants to assign a Function to a new one:
Function copy = orig;
or
Function copy(orig);
raise both an error as
/scratch-
typename boost::
boost::shared_ptr< <template-
= dolfin:
in
#3 0x00007f98fc291a09 in dolfin:
(this=0x7fff047
/scratch-
#4 0x00007f98fc291d09 in Function (this=0x7fff047
v=@0x7fff047d29c0) at dolfin/
Workaround:
use
Function copy(V_orig);
copy.vector() = orig.vector();
Changed in dolfin: | |
status: | Confirmed → Fix Committed |
Changed in dolfin: | |
status: | Fix Committed → Fix Released |
Could you post the smallest possible complete program that reproduces the error?