Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bodono committed Jan 11, 2022
1 parent fc8ebcf commit 073fb90
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/scs.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ typedef struct {

/** Contains primal-dual solution arrays or a certificate of infeasibility.
* Check the exit flag to determine whether this contains a solution or a
* certificate. */
* certificate. If when passed into SCS the members `x`, `y`, `s` are
* NULL then SCS will allocate memory for them which should be managed
* by the user to prevent memory leaks.
*/
typedef struct {
/** Primal variable. */
scs_float *x;
Expand Down

0 comments on commit 073fb90

Please sign in to comment.