Revision: 51802
          http://brlcad.svn.sourceforge.net/brlcad/?rev=51802&view=rev
Author:   phoenixyjll
Date:     2012-08-08 05:36:33 +0000 (Wed, 08 Aug 2012)
Log Message:
-----------
int was used by mistake. Use double instead.

Modified Paths:
--------------
    brlcad/trunk/src/libnurbs/opennurbs_ext.cpp

Modified: brlcad/trunk/src/libnurbs/opennurbs_ext.cpp
===================================================================
--- brlcad/trunk/src/libnurbs/opennurbs_ext.cpp 2012-08-08 04:28:27 UTC (rev 
51801)
+++ brlcad/trunk/src/libnurbs/opennurbs_ext.cpp 2012-08-08 05:36:33 UTC (rev 
51802)
@@ -2918,8 +2918,8 @@
        std::swap(t[1], t[0]);
     if (t[2] > t[3])
        std::swap(t[3], t[2]);
-    int left = (int)std::max(t[0], t[2]);
-    int right = (int)std::min(t[1], t[3]);
+    double left = std::max(t[0], t[2]);
+    double right = std::min(t[1], t[3]);
     if (left > right)
        return false;
     center = intersect.PointAt((left+right)/2);

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to