Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mrpt
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Robotics Team
mrpt
Commits
0fa37b24
Unverified
Commit
0fa37b24
authored
2 years ago
by
Jose Luis Blanco-Claraco
Browse files
Options
Downloads
Patches
Plain Diff
fix diff file
parent
b4cd4c7a
No related branches found
Branches containing commit
Tags
debian/1%2.5.1+ds-1
Tags containing commit
No related merge requests found
Pipeline
#413282
failed with stages
Stage:
Stage:
Stage:
in 1 hour, 1 minute, and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/patches/0001-fix-eigen-values-i386-errors.diff
+12
-0
12 additions, 0 deletions
debian/patches/0001-fix-eigen-values-i386-errors.diff
with
12 additions
and
0 deletions
debian/patches/0001-fix-eigen-values-i386-errors.diff
+
12
−
0
View file @
0fa37b24
...
...
@@ -2,3 +2,15 @@ Fixes FTBFS on i386 due to numerical innacuracies.
Taken from upstream git commit: https://github.com/MRPT/mrpt/commit/68c366d11732f277946369cead13643888e1e4b7
--- a/libs/math/src/MatrixBase_impl.h
+++ b/libs/math/src/MatrixBase_impl.h
@@ -145,6 +145,9 @@
{
detail::sortEigResults(
eigenVal, es.eigenvectors().real(), eVals, eVecs);
+
+ // Avoid numerical issues on some platforms (e.g. i386 arch)
+ if (eVals.at(0) < 0) eVals.at(0) = 0;
}
else
{
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment