Mercurial > hg > svcore
diff data/model/AlignmentModel.cpp @ 1760:9945ad04c174 by-id
Fix typo that inverted sense of test
author | Chris Cannam |
---|---|
date | Mon, 08 Jul 2019 10:08:08 +0100 |
parents | 6d09d68165a4 |
children | f19711ab7074 |
line wrap: on
line diff
--- a/data/model/AlignmentModel.cpp Mon Jul 08 10:07:55 2019 +0100 +++ b/data/model/AlignmentModel.cpp Mon Jul 08 10:08:08 2019 +0100 @@ -245,9 +245,10 @@ auto pathSourceModel = ModelById::getAs<SparseTimeValueModel>(m_pathSource); if (!m_path) { - if (pathSourceModel) { + if (!pathSourceModel) { cerr << "ERROR: AlignmentModel::constructPath: " - << "No raw path available" << endl; + << "No raw path available (id is " << m_pathSource + << ")" << endl; return; } m_path.reset(new Path