Skip to content

Commit

Permalink
[doc] Fix wrong import from Fortran doc
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-caron authored and gergondet committed Dec 2, 2019
1 parent 37dd03f commit d4328ff
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/QuadProg.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ class QuadProgCommon
bool isDecomp);

protected:
MatrixXd Q_; /**< Cost function matrix. \note WILL BE DESTROYED ON EXIT */
VectorXd C_; /**< Cost function vector. \note WILL BE DESTROYED ON EXIT */
MatrixXd Q_; /**< Cost function matrix */
VectorXd C_; /**< Cost function vector */
VectorXd B_; /**< Inequality constraint vector. \note ENTRIES CORRESPONDING TO EQUALITY CONSTRAINTS MAY HAVE CHANGED SIGNS ON EXIT */
VectorXd X_; /**< Solution of the quadratic program */
int fail_; /**< Failure code, 0 is success */
Expand Down Expand Up @@ -154,10 +154,6 @@ class QuadProgDense : public QuadProgCommon
*
* \return success True if the solver found a solution.
*
* \note Both Q and C will be destroyed on exit. Also, entries
* corresponding to equality constraints in Aeq and Beq may have changed
* signs on exit.
*
*/
EIGEN_QUADPROG_API bool solve(const MatrixXd& Q, const VectorXd& C,
const MatrixXd& Aeq, const VectorXd& Beq,
Expand Down Expand Up @@ -233,10 +229,6 @@ class QuadProgSparse : public QuadProgCommon
*
* \return success True if the solver found a solution.
*
* \note Both Q and C will be destroyed on exit. Also, entries
* corresponding to equality constraints in Aeq and Beq may have changed
* signs on exit.
*
*/
EIGEN_QUADPROG_API bool solve(const MatrixXd& Q, const VectorXd& C,
const SparseMatrix<double>& Aeq, const VectorXd& Beq,
Expand Down

0 comments on commit d4328ff

Please sign in to comment.