[GRASS-SVN] r32826 - in grass-addons/vector: v.buffer2 v.parallel2
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Aug 16 16:49:13 EDT 2008
Author: rmatev
Date: 2008-08-16 16:49:13 -0400 (Sat, 16 Aug 2008)
New Revision: 32826
Modified:
grass-addons/vector/v.buffer2/vlib_buffer.c
grass-addons/vector/v.parallel2/vlib_buffer.c
Log:
Changed signbit() to comparison
Modified: grass-addons/vector/v.buffer2/vlib_buffer.c
===================================================================
--- grass-addons/vector/v.buffer2/vlib_buffer.c 2008-08-16 19:56:33 UTC (rev 32825)
+++ grass-addons/vector/v.buffer2/vlib_buffer.c 2008-08-16 20:49:13 UTC (rev 32826)
@@ -740,7 +740,7 @@
area += (y2+y1)*(x2-x1);
}
- return !signbit(area);
+ return (area > 0);
}
/* internal */
Modified: grass-addons/vector/v.parallel2/vlib_buffer.c
===================================================================
--- grass-addons/vector/v.parallel2/vlib_buffer.c 2008-08-16 19:56:33 UTC (rev 32825)
+++ grass-addons/vector/v.parallel2/vlib_buffer.c 2008-08-16 20:49:13 UTC (rev 32826)
@@ -740,7 +740,7 @@
area += (y2+y1)*(x2-x1);
}
- return !signbit(area);
+ return (area > 0);
}
/* internal */
More information about the grass-commit
mailing list