Skip to content

Commit 63fb999

Browse files
committed
example: fix compilation issues
1 parent 03125c1 commit 63fb999

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/cpp/estimate_nonconvex_eigenvalue.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include <proxsuite/proxqp/dense/dense.hpp> // load the dense solver backend
22
#include <proxsuite/proxqp/utils/random_qp_problems.hpp> // used for generating a random convex qp
33

4+
using namespace proxsuite;
45
using namespace proxsuite::proxqp;
56
using T = double;
67

@@ -39,9 +40,9 @@ main()
3940
qp_random.l,
4041
qp_random.u,
4142
compute_preconditioner,
42-
std::nullopt,
43-
std::nullopt,
44-
std::nullopt,
43+
nullopt,
44+
nullopt,
45+
nullopt,
4546
estimate_minimal_eigen_value);
4647
// print the estimates
4748
std::cout << "ProxQP estimate "

0 commit comments

Comments
 (0)