Update mussa to build on ubuntu 10.04 with qt 4.6.2 +boost 1.40.0.1
[mussa.git] / alg / nway_other.cpp
index 87ee972e48a21d00c3495f401d15d4861db36b87..08a19fd620a91af6d779eb672402ba908e1cbcff 100644 (file)
@@ -251,10 +251,11 @@ NwayPaths::trans_path_search(vector<vector<FLPs> > all_comparisons)
                                             all_matches);
       }
     }
-    if (progress_cb) {
-      progress_cb("transitive refinement", win_i, window_num);
+    if ((win_i % 1000) == 0) {
+      emit progress("transitive refinement", win_i, window_num);
     }
   }
+  emit progress("transitive refinement", window_num, window_num);
   //clog << "pathz=" << pathz.size()
   //     << " all_cmp=" << all_comparisons.size();
   //if (pathz.begin() != pathz.end())