diff options
author | Gael Guennebaud <g.gael@free.fr> | 2016-11-03 10:21:59 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2016-11-03 10:21:59 +0100 |
commit | 78e93ac1ad410bd497cf574e68545f38f7387b4d (patch) | |
tree | 47e81625a2f53b872129be6e45dd50d004724cdf /Eigen/src/Core/util/StaticAssert.h | |
parent | 3e37166d0be6532a12ab3a269289fa1f031bd9d6 (diff) |
bug #1330: Cholmod supports double precision only, so let's trigger a static assertion if the scalar type does not match this requirement.
Diffstat (limited to 'Eigen/src/Core/util/StaticAssert.h')
-rw-r--r-- | Eigen/src/Core/util/StaticAssert.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/StaticAssert.h b/Eigen/src/Core/util/StaticAssert.h index 4fd8891c6..983361a45 100644 --- a/Eigen/src/Core/util/StaticAssert.h +++ b/Eigen/src/Core/util/StaticAssert.h @@ -100,7 +100,8 @@ MATRIX_FREE_CONJUGATE_GRADIENT_IS_COMPATIBLE_WITH_UPPER_UNION_LOWER_MODE_ONLY, THIS_TYPE_IS_NOT_SUPPORTED, STORAGE_KIND_MUST_MATCH, - STORAGE_INDEX_MUST_MATCH + STORAGE_INDEX_MUST_MATCH, + CHOLMOD_SUPPORTS_DOUBLE_PRECISION_ONLY }; }; |