Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Nov 13, 2024
1 parent 776ac3b commit e6ff82c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/commons/Sequence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ void Sequence::mapSequence(size_t id, unsigned int dbKey, const char *sequence,
void Sequence::mapSequence(size_t id, unsigned int dbKey, std::pair<const unsigned char *,const unsigned int> data){
this->id = id;
this->dbKey = dbKey;
const int alphabetSize = subMat->alphabetSize;
if (Parameters::isEqualDbtype(this->seqType, Parameters::DBTYPE_AMINO_ACIDS)
|| Parameters::isEqualDbtype( this->seqType,Parameters::DBTYPE_NUCLEOTIDES)){
this->L = data.second;
Expand Down
8 changes: 6 additions & 2 deletions src/commons/SubstitutionMatrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,12 @@ SubstitutionMatrix::SubstitutionMatrix(const char *filename, float bitFactor, fl
}


bool SubstitutionMatrix::estimateLambdaAndBackground(const double **scoreMatrix,
int alphabetSize, double *pBack, double &lambda) {
bool SubstitutionMatrix::estimateLambdaAndBackground(
const double** MAYBE_UNUSED(scoreMatrix),
int MAYBE_UNUSED(alphabetSize),
double* MAYBE_UNUSED(pBack),
double& MAYBE_UNUSED(lambda)
) {
Debug(Debug::ERROR) << "Custom Substitution Matrix not supported in the release. Please use previous release\n";
return false;
// We need to pass the parameters as 1-based pointers, hence the +1s and -1s.
Expand Down
1 change: 0 additions & 1 deletion src/test/TestUngappedCpuPerf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ int main (int, const char**) {
}
}

size_t seqLen = 32;
size_t targets = 5000000;

std::vector<int> benchSizes = {
Expand Down

0 comments on commit e6ff82c

Please sign in to comment.