Revision: 52706
          http://brlcad.svn.sourceforge.net/brlcad/?rev=52706&view=rev
Author:   brlcad
Date:     2012-10-03 05:21:18 +0000 (Wed, 03 Oct 2012)
Log Message:
-----------
make the bn_poly_t coefficients be fastf_t instead of double.  the root solver 
might need doubles for roots to converge properly, but there's no indication of 
that limitation since the fields were originally added in r12507 (1996).  
making them be fastf_t helps maintain type consistency with callers using other 
bn types

Revision Links:
--------------
    http://brlcad.svn.sourceforge.net/brlcad/?rev=12507&view=rev

Modified Paths:
--------------
    brlcad/trunk/include/bn.h

Modified: brlcad/trunk/include/bn.h
===================================================================
--- brlcad/trunk/include/bn.h   2012-10-03 04:51:45 UTC (rev 52705)
+++ brlcad/trunk/include/bn.h   2012-10-03 05:21:18 UTC (rev 52706)
@@ -1022,7 +1022,7 @@
 typedef struct bn_poly {
     uint32_t magic;
     size_t dgr;
-    double cf[BN_MAX_POLY_DEGREE+1];
+    fastf_t cf[BN_MAX_POLY_DEGREE+1];
 }  bn_poly_t;
 #define BN_CK_POLY(_p) BU_CKMAG(_p, BN_POLY_MAGIC, "struct bn_poly")
 #define BN_POLY_NULL   ((struct bn_poly *)NULL)

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to