Skip to content

Commit

Permalink
init vars to remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bodono committed Nov 23, 2017
1 parent a615a68 commit 3c2e2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cones.c
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ static scs_float pow_calc_fp(scs_float x, scs_float y, scs_float dxdr, scs_float

static void proj_power_cone(scs_float *v, scs_float a) {
scs_float xh = v[0], yh = v[1], rh = ABS(v[2]);
scs_float x, y, r;
scs_float x = 0.0, y = 0.0, r;
scs_int i;
/* v in K_a */
if (xh >= 0 && yh >= 0 &&
Expand Down

0 comments on commit 3c2e2ca

Please sign in to comment.