Browse Source

Compile fix for CUDD (finite -> isfinite).

Previously marked as deprecated, but now giving compiler errors,
e.g., on new Mac installs.
accumulation-v4.7
Dave Parker 5 years ago
parent
commit
9c20bccbfc
  1. 2
      cudd/cudd/cuddTable.c

2
cudd/cudd/cuddTable.c

@ -1477,7 +1477,7 @@ static double truncateDoubleConstant(double value)
// (round off before doing hash function to ensure
// close valued constants are in the same table)
if (finite(value)) {
if (isfinite(value)) {
trunc = 10000000000.0; // 10^10
m = value * trunc;
n = floor(m);

Loading…
Cancel
Save