diff --git a/gtsam_unstable/nonlinear/tests/testSQPSimple.cpp b/gtsam_unstable/nonlinear/tests/testSQPSimple.cpp index c649cf295..923d7be4c 100644 --- a/gtsam_unstable/nonlinear/tests/testSQPSimple.cpp +++ b/gtsam_unstable/nonlinear/tests/testSQPSimple.cpp @@ -206,7 +206,9 @@ TEST(testSQPSimple, Problem2) { //Instantiate NLP NLP nlp; - nlp.cost.add(); + nlp.cost.add(); // wrap it using linearcontainerfactor + nlp.linearEqualities // for constraint it has to inherit from + // write an evaluate error and return jacobian // Instantiate SQP SQPSimple sqpSimple(nlp);