]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid a warning when compiling the test for isnan.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 29 Jun 2000 15:02:41 +0000 (15:02 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 29 Jun 2000 15:02:41 +0000 (15:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@3102 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure

index 1cd141ab9ef767358e5da8432feed7b241ebe09b..6023ee0f314e421e4caa58529e855df0918b5aee 100644 (file)
@@ -133,7 +133,7 @@ AC_DEFUN(DEAL_II_CHECK_ISNAN, dnl
 #include <cmath>
     ],
     [
-       double d;
+       double d=0;
        isnan (d);
     ],
     [
@@ -151,7 +151,7 @@ AC_DEFUN(DEAL_II_CHECK_ISNAN, dnl
 #include <cmath>
     ],
     [
-       double d;
+       double d=0;
        isnan (d);
     ],
     [
index 9b8a7ddda3ef0fd34ecdeb1a7923a12e20d52145..b479df1a224fb949e6d2b6fc2d2ecfa83140e0a1 100755 (executable)
@@ -1530,7 +1530,7 @@ echo "configure:1523: checking whether isnan is declared with debug flags" >&5
     
 int main() {
 
-       double d;
+       double d=0;
        isnan (d);
     
 ; return 0; }
@@ -1562,7 +1562,7 @@ echo "configure:1555: checking whether isnan is declared with optimized flags" >
     
 int main() {
 
-       double d;
+       double d=0;
        isnan (d);
     
 ; return 0; }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.