Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
do not test equality on double
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 17 Feb 2017 09:12:53 +0000 (10:12 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 17 Feb 2017 09:12:53 +0000 (10:12 +0100)
commit5c35a583c922ec5967b33193d67dad791cbe0e21
treee10494fd0d2d1db5f01110c51577fc72b3c07e03
parentf88d80bb0ad72cdf4afde02467f9d8afdda19d64
do not test equality on double

modify (and rename macro) to return -1 if the cost array is not defined
then we can test if the cost is 0 (nothing to do) or -1 (doesn't even
exist) and thus use <= instead of ==
src/surf/HostImpl.cpp