aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Sebastien Boisvert <seb@boisvert.info>2020-06-09 18:15:52 -0400
committerGravatar Sebastien Boisvert <seb@boisvert.info>2020-06-11 00:56:54 +0000
commit463ec866483806640c0a589afa427193a4599e8e (patch)
tree999d2bf094656226e29c2d5bcef95523cd3d6fd9
parentb5d66b5e7395be326cbc66434ac0e35da33732e2 (diff)
Fix #1757: remove the word 'suicide'
-rw-r--r--Eigen/Core2
-rw-r--r--test/geo_hyperplane.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/Core b/Eigen/Core
index 10b0bd839..f36031557 100644
--- a/Eigen/Core
+++ b/Eigen/Core
@@ -11,7 +11,7 @@
#ifndef EIGEN_CORE_H
#define EIGEN_CORE_H
-// first thing Eigen does: stop the compiler from committing suicide
+// first thing Eigen does: stop the compiler from reporting useless warnings.
#include "src/Core/util/DisableStupidWarnings.h"
// then include this file where all our macros are defined. It's really important to do it first because
diff --git a/test/geo_hyperplane.cpp b/test/geo_hyperplane.cpp
index a26709301..2c89ecd21 100644
--- a/test/geo_hyperplane.cpp
+++ b/test/geo_hyperplane.cpp
@@ -117,7 +117,7 @@ template<typename Scalar> void lines()
VERIFY_IS_APPROX(result, center);
// check conversions between two types of lines
- PLine pl(line_u); // gcc 3.3 will commit suicide if we don't name this variable
+ PLine pl(line_u); // gcc 3.3 will crash if we don't name this variable.
HLine line_u2(pl);
CoeffsType converted_coeffs = line_u2.coeffs();
if(line_u2.normal().dot(line_u.normal())<Scalar(0))