# HG changeset patch # User cannam # Date 1169732371 0 # Node ID f46bf5e0fa425fdd286dba9d8974c1202e72d46b # Parent be8fdfe25693f51120c3c1b04de687b89c580e6a * isnan -> std::isnan, likewise isinf diff -r be8fdfe25693 -r f46bf5e0fa42 examples/SpectralCentroid.cpp --- a/examples/SpectralCentroid.cpp Fri Dec 08 17:39:32 2006 +0000 +++ b/examples/SpectralCentroid.cpp Thu Jan 25 13:39:31 2007 +0000 @@ -157,13 +157,13 @@ Feature feature; feature.hasTimestamp = false; - if (!isnan(centroidLog) && !isinf(centroidLog)) { + if (!std::isnan(centroidLog) && !std::isinf(centroidLog)) { feature.values.push_back(centroidLog); } returnFeatures[0].push_back(feature); feature.values.clear(); - if (!isnan(centroidLin) && !isinf(centroidLin)) { + if (!std::isnan(centroidLin) && !std::isinf(centroidLin)) { feature.values.push_back(centroidLin); } returnFeatures[1].push_back(feature);