dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #18844
Re: set_local in PETScVector
On Wed, 2010-08-04 at 11:42 +0200, Ola Skavhaug wrote:
> Hi,
>
> is the second assert statement in set_local in PETScVector correct?
>
It's not correct. I've just pushed a fix.
Garth
> assert(values.size() == size());
>
> I would expect something more like:
>
> assert(values.size() == local_size);
>
> where local_size is local_range[1] - local_range[0] (pardon the pseudo code).
>
> Ola
>
References