Mercurial > hg > audiodb
view tests/clean.sh @ 522:dad3d252462a multiprobeLSH
Fixed upper-limit (T) boundary error in MultiProbe::generatePerturbationSets(x, T). Setting this too high spins algorithm1 into infinite heap allocations without possiblity of terminating. This is now silently capped at --lsh_k * 2; the algorithm halts up to this threshold.
author | mas01mc |
---|---|
date | Tue, 27 Jan 2009 14:52:28 +0000 |
parents | 1853beeb0521 |
children |
line wrap: on
line source
#! /bin/sh for file in [0-9][0-9][0-9][0-9]*; do if [ -d ${file} ]; then echo Cleaning ${file} rm -f ${file}/test* if [ -f ${file}/clean.sh ]; then (cd ${file} && sh ./clean.sh) fi fi done