Closed aytey closed 5 years ago
Worse, this (re)appeared when trying to port to MacOS (there are 'std::isinf', '::isinf' and on some systems 'isinf' is a macro). I was travelling and had a fast fix for MacOS compilation. I plan to simply remove the 'isinf' test. It is the most elegant solution for that part of the code, but since robust porting is more important, I will just add a hard limit for the bumping overflow (as in older solvers and MiniSAT does). I will keep this open until I have time to fix it.
No worries! Great to know that an official fix is coming "in time"!
Cheers,
Andrew
Now, fixed as in the old EVSIDS code of MiniSAT (hard limit of 1e150 which is half the maximum represetable 64-bit double).
Hi,
I just tried to compile CaDiCaL for 64-bit Linux using GCC 4.9.4, but I received the following error:
it seems it is related to this:
My solution was to insert the following at the top of
src/analyze.cpp
:It would be awesome if this is a change that could be made in master (I haven't raised a PR, as I'm aware of what's in
CONTRIBUTING
).Cheers,
Andrew