Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
36000 committed Feb 9, 2022
1 parent 66de926 commit 55ac541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AFQ/_fixes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import numpy as np
import scipy
from scipy.sparse.linalg import ArpackNoConvergence

from scipy.special import lpmv, gammaln

Expand Down Expand Up @@ -247,7 +247,7 @@ def solve_qp(P, Q, G, H):
opt = np.array(x.value).reshape((Q.shape[0],))
except (
cvx.error.SolverError, cvx.error.DCPError,
scipy.sparse.linalg._eigen.arpack.arpack.ArpackNoConvergence):
ArpackNoConvergence):
opt = np.empty((Q.shape[0],))
opt[:] = np.NaN

Expand Down

0 comments on commit 55ac541

Please sign in to comment.