Revision: 51693
          http://brlcad.svn.sourceforge.net/brlcad/?rev=51693&view=rev
Author:   r_weiss
Date:     2012-07-27 21:18:49 +0000 (Fri, 27 Jul 2012)
Log Message:
-----------
Added the macro UNLIKELY to function "tie_tri_prep" in file "tie.c". 

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/bot/tie.c

Modified: brlcad/trunk/src/librt/primitives/bot/tie.c
===================================================================
--- brlcad/trunk/src/librt/primitives/bot/tie.c 2012-07-27 21:11:38 UTC (rev 
51692)
+++ brlcad/trunk/src/librt/primitives/bot/tie.c 2012-07-27 21:18:49 UTC (rev 
51693)
@@ -70,7 +70,7 @@
 
        /* Unitize Normal */
        mag_sq = MAGSQ(tri->data[1].v);
-       if (mag_sq < SMALL_FASTF) {
+       if (UNLIKELY(mag_sq < SMALL_FASTF)) {
            /* Can not unitize normal, most likely we have a zero area
             * triangle (ie degenerate) so skip it.
             */

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