idepth can't be 0
authorPritish Jetley <pjetley2@illinois.edu>
Thu, 17 Sep 2009 22:28:55 +0000 (22:28 +0000)
committerPritish Jetley <pjetley2@illinois.edu>
Thu, 17 Sep 2009 22:28:55 +0000 (22:28 +0000)
examples/charm++/barnes-charm/Main.cpp

index 47d943e76825b7131ace1955d5bc618b2aa17ac7..4d595fe1657a8aefa33cc770aacd72c28a0a897b 100644 (file)
@@ -89,7 +89,7 @@ Main::Main(CkArgMsg *m){
   }
   */
   int depth = getiparam("depth");
-  if(depth < 0){
+  if(depth < 1){
     depth = 1;
   }