# HG changeset patch # User mas01cr # Date 1190810840 0 # Node ID 4c4c4ca6b59efe4817ad723d5c11301229480db0 # Parent 00c3326e824260bd6da5ad5056637e646b00a7b2 Fix bugs revealed by test 0009 * initialize the distances (point and track) to something "impossible"; * take the mean of only those points that have actually been found. diff -r 00c3326e8242 -r 4c4c4ca6b59e audioDB.cpp --- a/audioDB.cpp Wed Sep 26 12:45:51 2007 +0000 +++ b/audioDB.cpp Wed Sep 26 12:47:20 2007 +0000 @@ -1141,13 +1141,13 @@ double thisDist; for(k=0; k=trackDistances[n]){ @@ -1295,7 +1297,7 @@ break; } for(unsigned k=0; k