mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-07 18:27:40 +08:00
Fix #1757: remove the word 'suicide'
This commit is contained in:
parent
b5d66b5e73
commit
463ec86648
@ -11,7 +11,7 @@
|
|||||||
#ifndef EIGEN_CORE_H
|
#ifndef EIGEN_CORE_H
|
||||||
#define 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"
|
#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
|
// then include this file where all our macros are defined. It's really important to do it first because
|
||||||
|
@ -117,7 +117,7 @@ template<typename Scalar> void lines()
|
|||||||
VERIFY_IS_APPROX(result, center);
|
VERIFY_IS_APPROX(result, center);
|
||||||
|
|
||||||
// check conversions between two types of lines
|
// 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);
|
HLine line_u2(pl);
|
||||||
CoeffsType converted_coeffs = line_u2.coeffs();
|
CoeffsType converted_coeffs = line_u2.coeffs();
|
||||||
if(line_u2.normal().dot(line_u.normal())<Scalar(0))
|
if(line_u2.normal().dot(line_u.normal())<Scalar(0))
|
||||||
|
Loading…
Reference in New Issue
Block a user