Ask Your Question

Revision history [back]

Use this:

b = a[:]

to copy the vector into an independent vector.