Skip to content

Commit

Permalink
Fix for RCMD check warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
GregJohnsonJr committed Jul 15, 2024
1 parent fc8b722 commit 8603183
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions src/MothurDependencies/Cluster.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ class Cluster {
SparseDistanceMatrix* dMatrix;

unsigned long smallRow, smallCol, nRowCells, nColCells;
float smallDist, adjust, cutoff;
float cutoff;
std::string method;
float smallDist, adjust;
bool mapWanted;
std::map<std::string, int> seq2Bin;
std::string method;


Utils util;
};
Expand Down
8 changes: 4 additions & 4 deletions src/MothurDependencies/DataVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ class DataVector {
//virtual OrderVector getOrderVector(std::map<std::string,int>* hold = nullptr) = 0;
virtual void resize(int) = 0;

virtual std::string print(std::ostream&, std::map<std::string, int>&) {}
virtual std::string printHeaders(std::ostream&) {};
virtual std::string print(std::ostream&, bool&) {}
virtual std::string print(std::ostream&) {}
virtual std::string print(std::ostream&, std::map<std::string, int>&) {return "";}
virtual std::string printHeaders(std::ostream&) {return "";}
virtual std::string print(std::ostream&, bool&) {return "";}
virtual std::string print(std::ostream&) {return "";}

void setLabel(const std::string& l) { label = l; }
std::string getLabel() { return label; }
Expand Down
2 changes: 1 addition & 1 deletion src/MothurDependencies/PDistCell.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ struct PDistCell{
static bool CompareIndexes(const PDistCell& left, const PDistCell& right){return left.index > right.index; }
};
struct PDistCellMin{
unsigned long row;
unsigned long col;
unsigned long row;
PDistCellMin() = default;
PDistCellMin(const unsigned long r, const unsigned long c) : col(c), row(r) {}
};
Expand Down

0 comments on commit 8603183

Please sign in to comment.