Skip to content
Snippets Groups Projects
Commit 1f745193 authored by Dan Povey's avatar Dan Povey
Browse files

Small fix to errmsg in compile-questions.cc

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@900 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 15d25397
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,9 @@ int main(int argc, char *argv[]) {
}
size_t nq = static_cast<int32>(questions.size());
SortAndUniq(&questions);
if (questions.size() != nq) KALDI_WARN << (questions.size()-nq) << " duplicate questions present in " << questions_rxfilename;
if (questions.size() != nq)
KALDI_WARN << (nq-questions.size())
<< " duplicate questions present in " << questions_rxfilename;
// ProcessTopo checks that all phones in the topo are
// represented in at least one questions (else warns), and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment