Thank you David. Using deepcopy seems to solve the issue if I make a
separate copy after the call. But as you mentioned, the return of function
should be a copy object.
regards
narayanan
On Thursday, 11 April 2019 12:32:23 UTC+5:30, David Roe wrote:
>
> You probably want deepcopy. That being
I have recently created a Polyhedron Q that corresponts to the cuts of a
graph.
Once I have Q, I created a list of vectors of its vertices as follows:
V=[s.vector() for s in Q.vertices()]
Now I create a copy of V
W= copy(V)
Then I change the 6th co-ordinate of each vector in W as follows