Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
pinocchio
Commits
11395d85
Commit
11395d85
authored
Feb 01, 2017
by
Joseph Mirabel
Committed by
Joseph Mirabel
Feb 01, 2017
Browse files
[C++][Minor] Change threshold in firstOrderNormalize
parent
35c5f2e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/math/quaternion.hpp
View file @
11395d85
...
...
@@ -97,7 +97,7 @@ namespace se3
#ifndef NDEBUG
const
Scalar
M
=
3
*
std
::
pow
((
Scalar
)
1.
-
epsilon
,
((
Scalar
)
-
5
)
/
2
)
/
4
;
assert
(
std
::
fabs
(
q
.
norm
()
-
1
)
<=
std
::
max
(
M
*
sqrt
(
N2
)
*
(
N2
-
1
)
*
(
N2
-
1
)
/
2
,
Eigen
::
NumTraits
<
Scalar
>::
ep
si
l
on
()));
std
::
max
(
M
*
sqrt
(
N2
)
*
(
N2
-
1
)
*
(
N2
-
1
)
/
2
,
Eigen
::
NumTraits
<
Scalar
>::
dummy_preci
sion
()));
#endif
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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