#endif
}
//***************************************************************************************************************
-int Ccode::print(ostream& out, ostream& outAcc) {
+Sequence* Ccode::print(ostream& out, ostream& outAcc) {
try {
ofstream out2;
//free memory
for (int i = 0; i < closest.size(); i++) { delete closest[i].seq; }
- return results;
+ return NULL;
}
catch(exception& e) {
m->errorOut(e, "Ccode", "print");
}
#ifdef USE_MPI
//***************************************************************************************************************
-int Ccode::print(MPI_File& out, MPI_File& outAcc) {
+Sequence* Ccode::print(MPI_File& out, MPI_File& outAcc) {
try {
string outMapString = "";
//free memory
for (int i = 0; i < closest.size(); i++) { delete closest[i].seq; }
- return results;
+ return NULL;
}
catch(exception& e) {
m->errorOut(e, "Ccode", "print");
MPI_File_write_shared(outMap, buf, length, MPI_CHAR, &status);
delete buf;
+
+ return 0;
}
catch(exception& e) {