File: fix-build-with-eigen-3-3.patch

package info (click to toggle)
opensurgsim 0.7.0-11
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 23,744 kB
  • sloc: cpp: 135,363; ansic: 4,206; python: 3,934; makefile: 38
file content (17 lines) | stat: -rw-r--r-- 547 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fixes failing build with Eigen 3.3-alpha1
 This tweaks an epsilon values in the unit tests due to changes in Eigen.
Author: Paul Novotny <paul@paulnovo.us>
Bug-Debian: https://bugs.debian.org/803145
Last-Update: 2016-10-14

--- a/SurgSim/Physics/UnitTests/Fem3DElementCorotationalTetrahedronTests.cpp
+++ b/SurgSim/Physics/UnitTests/Fem3DElementCorotationalTetrahedronTests.cpp
@@ -33,7 +33,7 @@
 
 namespace
 {
-const double epsilonAddForce = 1e-8;
+const double epsilonAddForce = 1e-7;
 const double epsilonAddMatVec = 1e-10;
 };