Skip to content

Commit df4b023

Browse files
committed
core: add missing namespace
1 parent ddc3139 commit df4b023

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/eiquadprog/eiquadprog-utils.hxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#include <Eigen/Core>
55
#include <iostream>
66

7+
namespace eiquadprog {
8+
79
/// Compute sqrt(a^2 + b^2)
810
template <typename Scalar> inline Scalar distance(Scalar a, Scalar b) {
911
Scalar a1, b1, t;
@@ -28,4 +30,6 @@ void print_matrix(const char *name, Eigen::MatrixBase<Derived> &x, int n) {
2830
std::cerr << name << std::endl << x << std::endl;
2931
}
3032

33+
} // namespace eiquadprog
34+
3135
#endif

0 commit comments

Comments
 (0)