Fixing problem in mag spectrum, return values were missing

parent 858798ba
...@@ -159,6 +159,8 @@ public: ...@@ -159,6 +159,8 @@ public:
if( m_vfValues[ n ] != 0.0f ) if( m_vfValues[ n ] != 0.0f )
return false; return false;
} }
return true;
}; };
inline bool IsZero() const inline bool IsZero() const
...@@ -168,9 +170,9 @@ public: ...@@ -168,9 +170,9 @@ public:
if( m_vfValues[ n ] != -std::numeric_limits< float >::infinity() ) if( m_vfValues[ n ] != -std::numeric_limits< float >::infinity() )
return false; return false;
} }
return true;
}; };
}; };
#endif // INCLUDE_WATCHER_ITA_THIRD_OCTAVE_MAGNITUDE_SPECTRUM #endif // INCLUDE_WATCHER_ITA_THIRD_OCTAVE_MAGNITUDE_SPECTRUM
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment