bug #1330: Cholmod supports double precision only, so let's trigger a static assertion if the scalar type does not match this requirement.

This commit is contained in:
Gael Guennebaud
2016-11-03 10:21:59 +01:00
parent 3e37166d0b
commit 78e93ac1ad
2 changed files with 47 additions and 30 deletions

View File

@@ -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
};
};