summaryrefslogtreecommitdiff
path: root/geography/qgis/patches/patch-ac
blob: f986743ab9c94402a95f8c19e4db36383f763100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.1.1.1 2010/08/27 11:43:05 adam Exp $

--- src/analysis/interpolation/qgstininterpolator.cpp.orig	2009-11-22 14:41:00.000000000 +0000
+++ src/analysis/interpolation/qgstininterpolator.cpp
@@ -195,7 +195,7 @@ int QgsTINInterpolator::insertData( QgsF
       return 3;
     }
     attributeValue = att_it.value().toDouble( &attributeConversionOk );
-    if ( !attributeConversionOk || isnan( attributeValue ) ) //don't consider vertices with attributes like 'nan' for the interpolation
+    if ( !attributeConversionOk || isnanf( attributeValue ) ) //don't consider vertices with attributes like 'nan' for the interpolation
     {
       return 4;
     }