changeset 1077:ec6e7f0f3f5b

Comment
author Chris Cannam
date Wed, 10 Jun 2015 13:09:14 +0100
parents 106081811ccd
children ce82bcdc95d0
files data/model/FFTModel.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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 {