[MOAB-dev] r3526 - MOAB/trunk/tools/dagmc

sjackson at cae.wisc.edu sjackson at cae.wisc.edu
Thu Feb 4 11:52:12 CST 2010


Author: sjackson
Date: 2010-02-04 11:52:12 -0600 (Thu, 04 Feb 2010)
New Revision: 3526

Modified:
   MOAB/trunk/tools/dagmc/ray_fire_test.cc
Log:
Fix a reversed conditional

Modified: MOAB/trunk/tools/dagmc/ray_fire_test.cc
===================================================================
--- MOAB/trunk/tools/dagmc/ray_fire_test.cc	2010-02-04 16:31:47 UTC (rev 3525)
+++ MOAB/trunk/tools/dagmc/ray_fire_test.cc	2010-02-04 17:52:12 UTC (rev 3526)
@@ -73,7 +73,7 @@
   MBEntityHandle surf = 0, vol = 0;
 
   // Simply test 1 ray against 1 volume with no timing
-  if(strcmp(argv[2], "-s")) {
+  if(!strcmp(argv[2], "-s")) {
     if(11 > argc) {
       std::cerr << "Need more input arguments for simple test" << std::endl;
       return 1;



More information about the moab-dev mailing list