Skip to content

Commit

Permalink
changed tolerance of test
Browse files Browse the repository at this point in the history
  • Loading branch information
dance858 committed Nov 17, 2024
1 parent d6cebe1 commit 625a25b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/spectral_cones/nuclear/nuclear_cone.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ scs_int ell1_cone_proj_sorted(scs_float t0, const scs_float *x0, scs_float *proj
scs_int n);

// X is of size m x n, stored column major. It is assumed that m >= n.
scs_int SCS(proj_nuclear_cone)(scs_float *tX, size_t m, size_t n, ScsConeWork *c)
scs_int SCS(proj_nuclear_cone)(scs_float *tX, scs_int m, scs_int n, ScsConeWork *c)
{
assert(m >= n);
scs_float *X = tX + 1;
Expand Down
4 changes: 2 additions & 2 deletions test/spectral_cones_problems/several_nuc_cone.h
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ static const char *several_nuc_cone(void)
k->sl_size = sl_size;

scs_set_default_settings(stgs);
stgs->eps_abs = 1e-6;
stgs->eps_rel = 1e-6;
stgs->eps_abs = 1e-7;
stgs->eps_rel = 1e-7;
stgs->eps_infeas = 1e-9;

exitflag = scs(d, k, stgs, sol, &info);
Expand Down

0 comments on commit 625a25b

Please sign in to comment.