Umfpack: UF_long has been removed in recent versions of suitesparse, and fix a few long-to-int conversions issues.

This commit is contained in:
Gael Guennebaud
2018-04-11 09:59:59 +02:00
parent 0050709ea7
commit c91906b065
2 changed files with 59 additions and 46 deletions

View File

@@ -27,8 +27,8 @@ template<typename T1, typename T2> void test_umfpack_support_T()
void test_umfpack_support()
{
CALL_SUBTEST_1((test_umfpack_support_T<double, int>()));
CALL_SUBTEST_2((test_umfpack_support_T<std::complex<double>, int >()));
CALL_SUBTEST_3((test_umfpack_support_T<double, UF_long >()));
CALL_SUBTEST_4((test_umfpack_support_T<std::complex<double>, UF_long >()));
CALL_SUBTEST_2((test_umfpack_support_T<std::complex<double>, int>()));
CALL_SUBTEST_3((test_umfpack_support_T<double, long >()));
CALL_SUBTEST_4((test_umfpack_support_T<std::complex<double>, long>()));
}