Mercurial > hg > octave-lojdl
changeset 15330:81cc4e5733b1
build: Silence compiler warning in config.log for OCTAVE_UMFPACK_SEPARATE_SPLIT.
* m4/acinclude.m4 (OCTAVE_UMFPACK_SEPARATE_SPLIT): Silence compiler warning in
config.log.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 07 Sep 2012 17:07:30 -0700 |
parents | 719ffb2f35a6 |
children | aaf938d17e0c |
files | m4/acinclude.m4 |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/acinclude.m4 +++ b/m4/acinclude.m4 @@ -1662,6 +1662,7 @@ AC_CACHE_VAL([octave_cv_umfpack_separate_split], [AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include <stdlib.h> + #include <math.h> #if defined (HAVE_SUITESPARSE_UMFPACK_H) # include <suitesparse/umfpack.h> #elif defined (HAVE_UFSPARSE_UMFPACK_H) @@ -1691,7 +1692,7 @@ Numeric, null, null) ; umfpack_zi_free_numeric (&Numeric) ; for (i = 0; i < n; i++, x+=2) - if (fabs(*x - i - 1.) > 1.e-13) + if (fabs (*x - i - 1.) > 1.e-13) return (1); return (0) ; }