Verified Commit df4b0232 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core: add missing namespace

parent ddc31392
Pipeline #17937 failed with stage
in 17 seconds
......@@ -4,6 +4,8 @@
#include <Eigen/Core>
#include <iostream>
namespace eiquadprog {
/// Compute sqrt(a^2 + b^2)
template <typename Scalar> inline Scalar distance(Scalar a, Scalar b) {
Scalar a1, b1, t;
......@@ -28,4 +30,6 @@ void print_matrix(const char *name, Eigen::MatrixBase<Derived> &x, int n) {
std::cerr << name << std::endl << x << std::endl;
}
} // namespace eiquadprog
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment