Skip to content

Commit

Permalink
added memsize member to cond struct
Browse files Browse the repository at this point in the history
  • Loading branch information
giaf committed Jun 30, 2017
1 parent d570266 commit 770a7b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cond/d_cond.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ void d_create_cond_qp_ocp2dense(struct d_ocp_qp *ocp_qp, struct d_dense_qp *dens
d_create_strvec(nuM+nxM, cond_ws->tmp_nuxM, c_ptr);
c_ptr += cond_ws->tmp_nuxM->memory_size;

cond_ws->memsize = d_memsize_cond_qp_ocp2dense(ocp_qp, dense_qp);

return;

}
Expand Down
1 change: 1 addition & 0 deletions include/hpipm_d_cond.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ struct d_cond_qp_ocp2dense_workspace
struct d_strvec *Gammab;
struct d_strvec *tmp_ngM;
struct d_strvec *tmp_nuxM;
int memsize;
};


Expand Down

0 comments on commit 770a7b2

Please sign in to comment.