Skip to content

Commit

Permalink
Removed _m_nlcon since it is not used, privately or publicly
Browse files Browse the repository at this point in the history
  • Loading branch information
nbelakovski committed Jan 18, 2024
1 parent 5fe9575 commit 4814053
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions c/include/prima/prima.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ typedef struct {
// non-linear constraint values, of size m_nlcon (cobyla only)
double *nlconstr;

// size of nlconstr (private, do not use)
int _m_nlcon;

// exit code
int status;

Expand Down
1 change: 0 additions & 1 deletion c/prima.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ int prima_free_result(prima_result_t *result)
{
free(result->nlconstr);
result->nlconstr = NULL;
result->_m_nlcon = 0;
}
if (result->x)
{
Expand Down

0 comments on commit 4814053

Please sign in to comment.