Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix syev failure bug, closes #238 #261

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/cones.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ char *SCS(get_cone_header)(const ScsCone *k) {
static scs_int set_up_sd_cone_work_space(ScsConeWork *c, const ScsCone *k) {
scs_int i;
#ifdef USE_LAPACK
blas_int n_max = 0;
blas_int n_max = 1;
blas_int neg_one = -1;
blas_int info = 0;
scs_float wkopt = 0.0;
Expand All @@ -356,7 +356,7 @@ static scs_int set_up_sd_cone_work_space(ScsConeWork *c, const ScsCone *k) {
&info);

if (info != 0) {
scs_printf("FATAL: syev failure, info = %li\n", (long)info);
scs_printf("FATAL: syev workspace query failure, info = %li\n", (long)info);
return -1;
}
c->lwork = (blas_int)(wkopt + 1); /* +1 for int casting safety */
Expand Down
Loading