Permalink
Browse files

fixed lint

  • Loading branch information...
giaf committed Jun 6, 2018
1 parent e254298 commit ca941d35973087a498998994304646a695a4650d
Showing with 5 additions and 5 deletions.
  1. +5 −5 acados/dense_qp/dense_qp_common.c
@@ -228,11 +228,11 @@ void dense_qp_res_compute(dense_qp_in *qp_in, dense_qp_out *qp_out, dense_qp_res
blasfeo_daxpby(nbd, 1.0, tmp_nbg + 0, 0, -1.0, qp_in->d, 0, qp_out->t, 0);
blasfeo_daxpby(nbd, -1.0, tmp_nbg + 0, 0, -1.0, qp_in->d, nbd + ngd, qp_out->t, nbd + ngd);
// soft
blasfeo_dvecad_sp(nsd, 1.0, qp_out->v, nvd, idxs, qp_out->t, 0);
blasfeo_dvecad_sp(nsd, 1.0, qp_out->v, nvd+nsd, idxs, qp_out->t, nbd+ngd);
// blasfeo_daxpy(2*nsd, -1.0, qp_out->v, nvd, qp_out->t, 2*nbd+2*ngd, qp_out->t, 2*nbd+2*ngd);
blasfeo_dvecse(2*nsd, 0.0, qp_out->t, 2*nbd+2*ngd);
// soft
blasfeo_dvecad_sp(nsd, 1.0, qp_out->v, nvd, idxs, qp_out->t, 0);
blasfeo_dvecad_sp(nsd, 1.0, qp_out->v, nvd+nsd, idxs, qp_out->t, nbd+ngd);
// blasfeo_daxpy(2*nsd, -1.0, qp_out->v, nvd, qp_out->t, 2*nbd+2*ngd, qp_out->t, 2*nbd+2*ngd);
blasfeo_dvecse(2*nsd, 0.0, qp_out->t, 2*nbd+2*ngd);
// compute residuals
d_compute_res_dense_qp(qp_in, qp_out, qp_res, res_ws);

0 comments on commit ca941d3

Please sign in to comment.