Update mussa to build on ubuntu 10.04 with qt 4.6.2 +boost 1.40.0.1
[mussa.git] / alg / nway_entropy.cpp
index 1d9870a4aa0ed3cf05926e5c8e908f68d566c86e..94f47f5e24891db3d975759b5eb9377cf20f3e9e 100644 (file)
@@ -20,13 +20,13 @@ using namespace std;
 
 
 void
-NwayPaths::setup_ent(double new_entropy_thres, vector<string> some_seqs)
+NwayPaths::setup_ent(double new_entropy_thres, vector<Sequence> some_seqs)
 {
   ent_thres = new_entropy_thres;
 
   c_sequences.clear();
   for (vector<string>::size_type i = 0; i < some_seqs.size(); i++)
-    c_sequences.push_back((char *)some_seqs[i].c_str());
+    c_sequences.push_back((char *)some_seqs[i].get_sequence().c_str());
 }