Revision: 77984
http://sourceforge.net/p/brlcad/code/77984
Author: starseeker
Date: 2020-12-17 17:34:47 +0000 (Thu, 17 Dec 2020)
Log Message:
-----------
Use the fabs function for long double (fabsl)
Modified Paths:
--------------
brlcad/trunk/src/librt/gdiam/gdiam.cpp
Modified: brlcad/trunk/src/librt/gdiam/gdiam.cpp
===================================================================
--- brlcad/trunk/src/librt/gdiam/gdiam.cpp 2020-12-17 17:31:39 UTC (rev
77983)
+++ brlcad/trunk/src/librt/gdiam/gdiam.cpp 2020-12-17 17:34:47 UTC (rev
77984)
@@ -1428,7 +1428,7 @@
*( in[ ind ] ) ) ) {
area = Area( *( ch[ jnd ] ), *( ch[ jnd + 1 ] ),
*( in[ ind ] ) );
- if ( fabs( area ) < 1e-12 )
+ if ( fabsl( area ) < 1e-12 )
continue;
printf( "Failure in progress!\n\n" );
print_pnt( ch[ jnd ] );
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits