Skip to content

Commit

Permalink
Delete unused pseudocountsWeight in Sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Apr 12, 2023
1 parent 9f9e2ea commit dd21786
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/commons/Sequence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ Sequence::Sequence(size_t maxLen, int seqType, const BaseMatrix *subMat, const u
#endif
this->profile_score = (short *) mem_align(ALIGN_INT, (maxLen + 1) * profile_row_size * sizeof(short));
this->profile_index = (unsigned int *) mem_align(ALIGN_INT, (maxLen + 1) * profile_row_size * sizeof(int));
this->pseudocountsWeight = (float *) mem_align(ALIGN_INT, (maxLen + 1) * profile_row_size * sizeof(float));
this->profile_for_alignment = (int8_t *) mem_align(ALIGN_INT, (maxLen + 1) * subMat->alphabetSize * sizeof(int8_t));
// init profile
memset(this->profile_for_alignment, 0, (maxLen + 1) * subMat->alphabetSize * sizeof(int8_t));
Expand Down Expand Up @@ -104,7 +103,6 @@ Sequence::~Sequence() {
delete[] gIns;
#endif
delete[] pNullBuffer;
free(pseudocountsWeight);
free(profile_score);
free(profile_index);
free(profile_for_alignment);
Expand Down
1 change: 0 additions & 1 deletion src/commons/Sequence.h
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,6 @@ class Sequence {
uint8_t *gDel;
uint8_t *gIns;
#endif
float *pseudocountsWeight;
// const size_t PROFILE_ROW_SIZE = (((size_t) PROFILE_AA_SIZE / (VECSIZE_INT * 4)) + 1) * (VECSIZE_INT * 4);
size_t profile_row_size;
static const size_t PROFILE_AA_SIZE = 20;
Expand Down

0 comments on commit dd21786

Please sign in to comment.