Skip to content

Commit

Permalink
fix nasty lda bug in lange
Browse files Browse the repository at this point in the history
  • Loading branch information
bodono committed Jun 26, 2024
1 parent 45988c9 commit 8891c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linalg.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ scs_float SCS(norm_2)(const scs_float *v, scs_int len) {
scs_float SCS(norm_inf)(const scs_float *a, scs_int len) {
blas_int bone = 1;
blas_int blen = (blas_int)len;
return BLAS(lange)("Max", &blen, &bone, a, &bone, SCS_NULL);
return BLAS(lange)("Max", &blen, &bone, a, &blen, SCS_NULL);
}

/* axpy a += sc*b */
Expand Down

0 comments on commit 8891c9c

Please sign in to comment.