}
}
//***************************************************************************************************************
-Sequence* Pintail::print(ostream& out, ostream& outAcc) {
+Sequence Pintail::print(ostream& out, ostream& outAcc) {
try {
int index = ceil(deviation);
for (int m = 0; m < expectedDistance.size(); m++) { out << expectedDistance[m] << '\t'; }
out << endl;
- return NULL;
+ return *querySeq;
}
catch(exception& e) {
}
#ifdef USE_MPI
//***************************************************************************************************************
-Sequence* Pintail::print(MPI_File& out, MPI_File& outAcc) {
+Sequence Pintail::print(MPI_File& out, MPI_File& outAcc) {
try {
string outputString = "";
MPI_File_write_shared(outAcc, buf, length, MPI_CHAR, &statusAcc);
delete buf;
- return NULL;
+ return *querySeq;
}
outputString += "Observed\t";
MPI_File_write_shared(out, buf2, length, MPI_CHAR, &status);
delete buf2;
- return NULL;
+ return *querySeq;
}
catch(exception& e) {
m->errorOut(e, "Pintail", "print");