Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
eiquadprog
Commits
df4b0232
Verified
Commit
df4b0232
authored
Mar 30, 2022
by
Justin Carpentier
Browse files
core: add missing namespace
parent
ddc31392
Pipeline
#17937
failed with stage
in 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
include/eiquadprog/eiquadprog-utils.hxx
View file @
df4b0232
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment