From bde95893c876930d4579294a88ff7f54861d1732 Mon Sep 17 00:00:00 2001 From: dance858 Date: Sun, 17 Nov 2024 12:34:38 -0800 Subject: [PATCH] trying to fix C++ build --- src/cones.c | 2 +- src/spectral_cones/logdeterminant/logdet_cone.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cones.c b/src/cones.c index 7da10411..e58baede 100644 --- a/src/cones.c +++ b/src/cones.c @@ -43,7 +43,7 @@ void BLAS(scal)(const blas_int *n, const scs_float *sa, scs_float *sx, scs_int SCS(proj_logdet_cone)(scs_float *tvX, const scs_int n, ScsConeWork *c, scs_int offset, bool *warmstart); scs_int SCS(proj_nuclear_cone)(scs_float *tX, scs_int m, scs_int n, ScsConeWork *c); -void SCS(proj_ell_one)(scs_float *tx, size_t n, ScsConeWork *c); +void SCS(proj_ell_one)(scs_float *tx, scs_int n, ScsConeWork *c); scs_int SCS(proj_sum_largest_evals)(scs_float *tX, scs_int n, scs_int k, ScsConeWork *c); diff --git a/src/spectral_cones/logdeterminant/logdet_cone.c b/src/spectral_cones/logdeterminant/logdet_cone.c index bb213acc..a2556a1d 100644 --- a/src/spectral_cones/logdeterminant/logdet_cone.c +++ b/src/spectral_cones/logdeterminant/logdet_cone.c @@ -38,7 +38,7 @@ void BLAS(scal)(const blas_int *n, const scs_float *sa, scs_float *sx, // forward declare from log_cone_wrapper.c -scs_int log_cone_proj_wrapper(scs_float t0, scs_float v0, const scs_float *x0, +scs_int log_cone_proj_wrapper(scs_float t0, scs_float v0, scs_float *x0, scs_float *proj, scs_int n, scs_float *workspace, Newton_stats *stats, bool *warm_start);