Hello!

I am about to push the numpy index access for GenericVectors. As previously
discussed I will remove support for slicing access. This breaks one book
example. What is the policy for that? That was the whole point of having
these tests there.

def test_p51_box_2():
    b = Vector(mpi_comm_world(), 10)
    c = Vector(mpi_comm_world(), 10)
    b_copy = b[:]
    b[:] = c
    b[b < 0] = 0
    b2 = b[::2]

The last line wont work.

Johan
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to