diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-10-28 13:39:02 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-10-28 13:39:02 +0100 |
commit | 85313048581d22901c7940a46bd41b19e88ff47c (patch) | |
tree | 76853fb284423331dd4254b742c148f6cc418d11 /Eigen/src/Core/util/Constants.h | |
parent | 1f11dd6cedc223f92f9ce99a22080dd267fcb488 (diff) |
Simplify cost computations based on HugeCost being smaller that unrolling limit
Diffstat (limited to 'Eigen/src/Core/util/Constants.h')
-rw-r--r-- | Eigen/src/Core/util/Constants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/Constants.h b/Eigen/src/Core/util/Constants.h index 12238e5dd..c35077af6 100644 --- a/Eigen/src/Core/util/Constants.h +++ b/Eigen/src/Core/util/Constants.h @@ -36,7 +36,7 @@ const int Infinity = -1; * This value has to be positive to (1) simplify cost computation, and (2) allow to distinguish between a very expensive and very very expensive expressions. * It thus must also be large enough to make sure unrolling won't happen and that sub expressions will be evaluated, but not too large to avoid overflow. */ -const int HugeCost = 1000; +const int HugeCost = 10000; /** \defgroup flags Flags * \ingroup Core_Module |