Skip to content

Commit

Permalink
Made a copy to prevent overwriting
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffrey-hokanson committed Apr 17, 2019
1 parent 1626c05 commit c7c50c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psdr/vertex.py
Expand Up @@ -75,7 +75,7 @@ def voronoi_vertex(domain, Xhat, X0, L = None, randomize = True):
#assert isinstance(domain, Domain), "domain must be an instance of the Domain class"
assert len(domain.Ls) == 0, "Currently this does not support domains with quadratic constraints"
Xhat = np.atleast_2d(np.array(Xhat))
X0 = np.atleast_2d(np.array(X0))
X0 = np.atleast_2d(np.array(X0)).copy()

m = len(domain)

Expand Down

0 comments on commit c7c50c8

Please sign in to comment.