Skip to content

Commit fc5f913

Browse files
committed
fix include optional
1 parent 196bcaf commit fc5f913

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ This approach is available on Linux and Mac OS X.
7474
Installation from source is presented [here](https://github.com/Simple-Robotics/proxsuite/blob/main/doc/5-installation.md).
7575

7676
### Compiling a first example program
77-
For the fastest performance use the following command to enable vectorization when compiling the simple [example](https://github.com/Simple-Robotics/proxsuite/blob/main/examples/cpp/first_example.cpp).
77+
For the fastest performance use the following command to enable vectorization when compiling the simple [example](https://github.com/Simple-Robotics/proxsuite/blob/main/examples/cpp/first_example_dense.cpp).
7878
```bash
79-
g++ -O3 -march=native -DNDEBUG -std=gnu++17 -DPROXSUITE_VECTORIZE examples/first_example.cpp -o first_example $(pkg-config --cflags proxsuite)
79+
g++ -O3 -march=native -DNDEBUG -std=gnu++17 -DPROXSUITE_VECTORIZE examples/first_example_dense.cpp -o first_example_dense $(pkg-config --cflags proxsuite)
8080
```
8181
### Using ProxSuite with CMake
8282
If you want to use ProxSuite with CMake, the following tiny example should help you:

examples/cpp/first_example.cpp renamed to examples/cpp/first_example_dense.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//
22
// Copyright (c) 2022 INRIA
33
//
4+
#include <optional>
45
#include <Eigen/Core>
56
#include <proxsuite/proxqp/dense/dense.hpp>
67

0 commit comments

Comments
 (0)