From 5508ccdf406e5dd141ab3a7ac6379b7f2a005d12 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sat, 2 May 2020 23:52:43 -0400 Subject: [PATCH] Silence conversion warning in bundled UMFPACK --- bundled/umfpack/UMFPACK/Source/umf_grow_front.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundled/umfpack/UMFPACK/Source/umf_grow_front.cc b/bundled/umfpack/UMFPACK/Source/umf_grow_front.cc index 4a05d15a79..890ebc43bf 100644 --- a/bundled/umfpack/UMFPACK/Source/umf_grow_front.cc +++ b/bundled/umfpack/UMFPACK/Source/umf_grow_front.cc @@ -112,7 +112,7 @@ GLOBAL Int UMF_grow_front /* :: frontal matrix size int overflow :: */ /* the desired front size is bigger than the integer maximum */ /* compute a such that a*a*s < Int_MAX / sizeof (Entry) */ - double a = 0.9 * sqrt ((Int_MAX / sizeof (Entry)) / s) ; + double a = 0.9 * sqrt (((double) Int_MAX / sizeof (Entry)) / s) ; fnr2 = MAX (fnr_min, a * fnr2) ; fnc2 = MAX (fnc_min, a * fnc2) ; /* the new frontal size is a*r*a*c = a*a*s */ -- 2.39.5