Johan, I don't understand what you mean by that. I would also expect these
to do the same, i.e. result in an exact copy of ut.vector()?

Martin


On 26 May 2014 13:27, Johan Hake <[email protected]> wrote:

> Function.assign re-create the FOOvector holding the actual values. I
> assume this explains the difference in behavior.
>
> Johan
>
>
>
>
> On Mon, May 26, 2014 at 1:09 PM, Miroslav Kuchta <[email protected]>wrote:
>
>> Hi,
>>
>> please consider the attached snippet. I would assume foo() and bar()
>> to do the same thing but that is not the case. Is this a bug in
>> Function.assign() or am I missing something about the method's behaviour?
>> Thanks for answer.
>>
>> Regards, Miro
>> _______________________________________________
>> fenics mailing list
>> [email protected]
>> http://fenicsproject.org/mailman/listinfo/fenics
>>
>>
>
> _______________________________________________
> fenics mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics
>
>
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to