Skip to content

Commit 2ef064c

Browse files
y3tsengy3tseng
authored andcommitted
minor modification of log message and data type
1 parent da3b66a commit 2ef064c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/msa.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ namespace msa
123123
bool backbone; // Used in PLACE_W_TREE
124124
int memLen;
125125
char *alnStorage[2];
126-
const float timesBigger = 2.0;
126+
const int timesBigger = 2;
127127
// Functions
128128
void changeStorage();
129129
void memCheck(int len);

src/progressive.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ void msa::progressive::msaOnSubtree(Tree *T, SequenceDB *database, Option *optio
254254
lastAligned->seqsIncluded.clear();
255255
lastAligned->msaFreq.clear();
256256
}
257+
if ((option->alnMode == DEFAULT_ALN || option->alnMode == PLACE_W_TREE) && database->fallback_nodes.empty()) updateAlignment(T->root, database);
257258
auto progressiveEnd = std::chrono::high_resolution_clock::now();
258259
std::chrono::nanoseconds progressiveTime = progressiveEnd - progressiveStart;
259260
if (option->alnMode == PLACE_WO_TREE) {
@@ -267,7 +268,6 @@ void msa::progressive::msaOnSubtree(Tree *T, SequenceDB *database, Option *optio
267268
else std::cerr<< "Alignment on " << T->allNodes.size() << " subalignments (length: " << T->root->getAlnLen(database->currentTask) << ") in " << progressiveTime.count() / 1000000 << " ms\n";
268269
}
269270
if (database->fallback_nodes.empty()) {
270-
if (option->alnMode == DEFAULT_ALN || option->alnMode == PLACE_W_TREE) updateAlignment(T->root, database);
271271
return;
272272
}
273273

0 commit comments

Comments
 (0)