Skip to content

Commit

Permalink
Fixed install warning
Browse files Browse the repository at this point in the history
  • Loading branch information
GregJohnsonJr committed Nov 12, 2024
1 parent 3e1f94c commit 4eb287f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ColumnDistanceMatrixReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ bool ColumnDistanceMatrixReader::Read(const std::string& filePath) {
}

while(fileHandle >> firstName >> secondName >> distance && lt == 1){ //let's assume it's a triangular matrix...
int itA;
int itB;
int itA = 0;
int itB = 0;
try {
itA = nameToIndexMap.at(firstName);
itB = nameToIndexMap.at(secondName);
Expand Down Expand Up @@ -110,8 +110,8 @@ bool ColumnDistanceMatrixReader::Read(const std::string& filePath) {
fileHandle.open(filePath); //let's start over

while(fileHandle >> firstName >> secondName >> distance){
int itA;
int itB;
int itA = 0;
int itB = 0;
try {
itA = nameToIndexMap.at(firstName);
itB = nameToIndexMap.at(secondName);
Expand Down

0 comments on commit 4eb287f

Please sign in to comment.