Skip to content

Commit cc4242a

Browse files
committed
torgerson: Replace deprecated parameter
1 parent e35d172 commit cc4242a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orange/projection/manifold.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def torgerson(distances, n_components=2, eigen_solver="auto"):
8585
U, L = v[:, ::-1], w[::-1]
8686
elif eigen_solver == "lapack": # lapack (d|s)syevr
8787
w, v = lapack_eigh(B, overwrite_a=True,
88-
eigvals=(max(N - n_components, 0), N - 1))
88+
subset_by_index=(max(N - n_components, 0), N - 1))
8989
assert np.all(np.diff(w) >= 0), "w was not in ascending order"
9090
U, L = v[:, ::-1], w[::-1]
9191
else:

0 commit comments

Comments
 (0)