From 42938dc520d0c13c5d7e463298a2bd77f5ea9c82 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 29 May 2014 08:42:38 +0100 Subject: [PATCH] Correct infinity testcase --- Examples/test-suite/infinity.i | 1 + 1 file changed, 1 insertion(+) diff --git a/Examples/test-suite/infinity.i b/Examples/test-suite/infinity.i index 4aa987c11..e95bdf9cf 100644 --- a/Examples/test-suite/infinity.i +++ b/Examples/test-suite/infinity.i @@ -55,6 +55,7 @@ float use_infinity(float inf_val) /* This will allow us to bind the real INFINITY value through SWIG via MYINFINITY. Use %rename to fix the name. */ const double MYINFINITY = INFINITY; +void initialise_MYINFINITY(void); /* Use of float is intentional because the original bug was in the float conversion due to overflow checking. */ float use_infinity(float inf_val);