Mercurial > hg > svcore
diff data/model/FFTModel.h @ 1077:ec6e7f0f3f5b
Comment
author | Chris Cannam |
---|---|
date | Wed, 10 Jun 2015 13:09:14 +0100 |
parents | 0fd3661bcfff |
children | 9f4505ac9072 |
line wrap: on
line diff
--- a/data/model/FFTModel.h Wed Jun 10 13:08:30 2015 +0100 +++ b/data/model/FFTModel.h Wed Jun 10 13:09:14 2015 +0100 @@ -118,6 +118,9 @@ return const_cast<FFTModel *>(this)->getMagnitudeAt(x, y); } virtual bool isOK() const { + // Return true if the model was constructed successfully (not + // necessarily whether an error has occurred since + // construction, use getError for that) return m_server && m_server->getModel(); } virtual sv_frame_t getStartFrame() const {