Skip to content

Commit

Permalink
Fixes #629 Crash on mixed exp-socp in mosek
Browse files Browse the repository at this point in the history
  • Loading branch information
johanlofberg committed Jun 15, 2019
1 parent ddc2e75 commit 07caec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solvers/call_mosek_dual.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
for i = 1:model.K.e
prob.cones.type = [prob.cones.type 3];
prob.cones.subptr = [prob.cones.subptr length(prob.cones.sub)+1];
prob.cones.sub = [prob.cones.sub top+3 top+2 top+1];
prob.cones.sub = [prob.cones.sub(:)' top+3 top+2 top+1];
top = top + 3;
end
end
Expand Down

0 comments on commit 07caec8

Please sign in to comment.