Anders Logg wrote: > Why are there two different assertions on the vector size on the > Function constructors: > > assert(V->dofmap().global_dimension() == x.size()); > assert(V->dofmap().global_dimension() <= x->size()); > > Is this a typo?
Yes. I just pushed a correction. Garth I hope so. Otherwise it's strange that the behavior > should be different depending on whether x is a pointer or reference. > > -- > Anders > > > ------------------------------------------------------------------------ > > _______________________________________________ > DOLFIN-dev mailing list > DOLFIN-dev@fenics.org > http://www.fenics.org/mailman/listinfo/dolfin-dev _______________________________________________ DOLFIN-dev mailing list DOLFIN-dev@fenics.org http://www.fenics.org/mailman/listinfo/dolfin-dev