- //because we only store lt, we need to make sure we grab the right location
- if (smallRow < smallCol) { c = smallRow; r = smallCol; } //smallRow is really our column value
- else { r = smallRow; c = smallCol; } //smallRow is the row value
-
- //reset rows smallest distance
- rowSmallDists[r].dist = cutoff; rowSmallDists[r].row = 0; rowSmallDists[r].col = 0;
- rowSmallDists[c].dist = cutoff; rowSmallDists[c].row = 0; rowSmallDists[c].col = 0;
-
- //if your rows smallest distance is from smallRow or smallCol, reset
- for(int i=0;i<nseqs;i++){
- if ((rowSmallDists[i].row == r) || (rowSmallDists[i].row == c) || (rowSmallDists[i].col == r) || (rowSmallDists[i].col == c)) {
- rowSmallDists[i].dist = cutoff; rowSmallDists[i].row = 0; rowSmallDists[i].col = 0;
- }
- }
-