Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bodono committed Apr 4, 2023
1 parent c98fb72 commit 2952241
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/exp_cone.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static scs_float proj_primal_exp_cone_heuristic(const scs_float *v0,
vp[0] = MIN(r0, 0);
dist = SCS(norm_diff)(v0, vp, 3);

/* perspective scs_interior */
/* perspective interior */
if (s0 > 0.0) {
tp = MAX(t0, s0 * exp(r0 / s0));
newdist = tp - t0;
Expand All @@ -160,7 +160,7 @@ static scs_float proj_polar_exp_cone_heuristic(const scs_float *v0,
vd[0] = 0.0;
dist = SCS(norm_diff)(v0, vd, 3);

/* perspective scs_interior */
/* perspective interior */
if (r0 > 0.0) {
td = MIN(t0, -r0 * exp(s0 / r0 - 1));
newdist = t0 - td;
Expand Down

0 comments on commit 2952241

Please sign in to comment.