Skip to content

Commit

Permalink
Removed unnecessary symmetrize matrix in Isomap
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Aug 2, 2011
1 parent 6387718 commit 9d3e4f4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/shogun/preprocessor/Isomap.cpp
Expand Up @@ -57,14 +57,6 @@ CCustomDistance* CIsomap::isomap_distance(CDistance* distance)
}
}

// symmetrize matrix
for (i=0; i<N; i++)
{
for (j=0; j<N; j++)
if (D_matrix.matrix[j*N+i] >= CMath::ALMOST_INFTY)
D_matrix.matrix[i*N+j] = D_matrix.matrix[j*N+i];
}

SG_FREE(col);
SG_FREE(col_idx);
}
Expand Down

0 comments on commit 9d3e4f4

Please sign in to comment.