Hi, it seems that when I have one GenericVector and one Vector I can only add these together, not subtract them.
I'd like to subtract them as well :) The following illustrate the problem: from dolfin import * mesh = UnitSquare(12,12) V = FunctionSpace(mesh, "CG", 1) v = TestFunction(V) f = Function(V) s = Constant(mesh, 1.0) L = s*v*dx b = assemble(L) x = b + f.vector() x = b - f.vector() _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
