Browse Source

Fix for compiling on linux32 (gromit): isfinite -> finite.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7565 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 12 years ago
parent
commit
4cfb678ffe
  1. 3
      cudd/cudd/cuddTable.c

3
cudd/cudd/cuddTable.c

@ -81,6 +81,7 @@
******************************************************************************/ ******************************************************************************/
#include <math.h>
#include "util.h" #include "util.h"
#include "cuddInt.h" #include "cuddInt.h"
@ -1510,7 +1511,7 @@ cuddUniqueConst(
// this is the new version... // this is the new version...
// (round off before doing hash function to ensure // (round off before doing hash function to ensure
// close valued constants are in the same table) // close valued constants are in the same table)
if (isfinite(value)) {
if (finite(value)) {
trunc = 10000000000.0; // 10^10 trunc = 10000000000.0; // 10^10
m = value * trunc; m = value * trunc;
n = floor(m); n = floor(m);

Loading…
Cancel
Save