We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d226eff commit a9a3d0aCopy full SHA for a9a3d0a
clustering/fastcluster.h
@@ -897,7 +897,7 @@ namespace fastcluster {
897
NTT = 0;
898
NXO = 0;
899
for (t_index k=0; k<dim; ++k) {
900
- NTT += (Xb(i,k) & Xb(j,k)) ;
+ NTT += (Xb(i,k) && Xb(j,k)) ;
901
NXO += (Xb(i,k) ^ Xb(j,k)) ;
902
}
903
@@ -907,7 +907,7 @@ namespace fastcluster {
907
908
NTF = 0;
909
910
911
912
NTF += (Xb(i,k) & ~Xb(j,k)) ;
913
@@ -925,7 +925,7 @@ namespace fastcluster {
925
void nbool_correspond_tt(const t_index i, const t_index j) const {
926
927
928
929
930
931
0 commit comments