Revision: 53810
http://brlcad.svn.sourceforge.net/brlcad/?rev=53810&view=rev
Author: brlcad
Date: 2012-11-24 17:19:14 +0000 (Sat, 24 Nov 2012)
Log Message:
-----------
return failure only if no time elapsed
Modified Paths:
--------------
brlcad/trunk/src/librt/test_dvec.cpp
Modified: brlcad/trunk/src/librt/test_dvec.cpp
===================================================================
--- brlcad/trunk/src/librt/test_dvec.cpp 2012-11-24 17:06:25 UTC (rev
53809)
+++ brlcad/trunk/src/librt/test_dvec.cpp 2012-11-24 17:19:14 UTC (rev
53810)
@@ -173,7 +173,8 @@
}
printf("vec2d time: %3.4g\n",
(double)(clock()-start)/(double)CLOCKS_PER_SEC);
- return total > 0;
+ /* return 'fail' if no time elapsed */
+ return (total > 0) ? 0 : 1;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits