Skip to content

Commit 390457d

Browse files
Fix warning in pairaln
1 parent 1514015 commit 390457d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/pairaln.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ int pairaln(int argc, const char **argv, const Command& command) {
102102
// fill taxonToPair vector
103103
std::unordered_map<unsigned int, size_t>::iterator it;
104104
for (it = findPair.begin(); it != findPair.end(); ++it) {
105-
int thresholdToPair = (par.pairmode == Parameters::PAIRALN_MODE_ALL_PER_SPECIES) ? 1 : fileToIds[fileNumber].size() - 1;
105+
size_t thresholdToPair = (par.pairmode == Parameters::PAIRALN_MODE_ALL_PER_SPECIES) ? 1 : fileToIds[fileNumber].size() - 1;
106106
if (it->second > thresholdToPair) {
107107
taxonToPair.emplace_back(it->first);
108108
}

0 commit comments

Comments
 (0)