ticket:62 fix local alignment
[mussa.git] / alg / nway_other.cpp
index 19aaf0d268279bb981ae5d7730d352cb2ab3f4db..70b5bd9e35f143d946cacf716ab5a54b465821d5 100644 (file)
@@ -163,7 +163,7 @@ NwayPaths::radiate_path_search(vector<vector<FLPs> > all_comparisons)
         // add path that each species iterator is pointing to
         set_path_to_cur_sp_itor_track(path, win_i, sp_itor_begin);
        
-        pathz.push_back(ConservedPath(soft_thres, path));
+        pathz.push_back(ConservedPath(win_size, soft_thres, path));
 
         // now advance the right iterator
         still_paths = advance_sp_itor_track(sp_itor_begin, 
@@ -241,7 +241,7 @@ NwayPaths::trans_path_search(vector<vector<FLPs> > all_comparisons)
 
         // if the path is transitive, save the path
         if (is_transitive_path(path, all_comparisons, soft_thres)) {
-          ConservedPath new_path(soft_thres, path);
+          ConservedPath new_path(win_size, soft_thres, path);
           pathz.push_back(new_path);
         }