Skip to content

Commit

Permalink
Added note about origin of change
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffrey-hokanson committed Mar 16, 2019
1 parent 6a70170 commit 05d0ecd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions psdr/lipschitz.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ def _build_lipschitz_matrix_cvxopt(self, X, fX, grads):
for i in range(len(X)):
for j in range(i+1,len(X)):
p = X[i] - X[j]
# Normalizing here seems to reduce the normalization once inside CVXOPT
p_norm = np.linalg.norm(p)
# Vectorize to improve performance
#G = [-p.dot(E.dot(p)) for E in Es]
Expand Down

0 comments on commit 05d0ecd

Please sign in to comment.