Mercurial > hg > nnls-chroma
diff chromamethods.cpp @ 163:59b26f52550d
Make some more debug output dependent on debug_on
author | Chris Cannam |
---|---|
date | Fri, 04 Sep 2015 12:22:09 +0100 |
parents | 2cd99c0810f2 |
children |
line wrap: on
line diff
--- a/chromamethods.cpp Tue Jan 27 09:47:37 2015 +0000 +++ b/chromamethods.cpp Fri Sep 04 12:22:09 2015 +0100 @@ -373,18 +373,19 @@ int ppathsize = static_cast<int>(ppath.size()); for (int i = 0; i < ppathsize; ++i) { chordDictFilename = ppath[i] + "/" + chordDictBase; - cerr << "Looking for chord.dict in " << chordDictFilename << "..." ; +// cerr << "Looking for chord.dict in " << chordDictFilename << "..." ; fstream fin; fin.open(chordDictFilename.c_str(),ios::in); if( fin.is_open() ) { fin.close(); - cerr << " success." << endl; +// cerr << " success." << endl; break; } else { - if (i+1 < ppathsize) cerr << " (not found yet) ..." << endl; - else { - cerr << "* WARNING: failed to find chord dictionary, using default chord dictionary." << endl; + if (i+1 < ppathsize) { +// cerr << " (not found yet) ..." << endl; + } else { +// cerr << "* WARNING: failed to find chord dictionary, using default chord dictionary." << endl; hasExternalDictinoary = false; } }