Commit 682bf874 authored by Akarsh Simha's avatar Akarsh Simha
Browse files

Add missing overload for CachingDms::setD()

parent 594d09ee
......@@ -79,6 +79,18 @@ public:
* @short Overrides dms::setD()
inline void setD( const int &d, const int &m, const int &s, const int &ms=0 ) { dms::setD( d, m, s, ms ); dms::SinCos( m_sin, m_cos );
cachingdms_delta -= 2;
if( !m_cacheUsed )
m_cacheUsed = false;
* @short Sets the angle in hours, supplied as a double
* @note Re-implements dms::setH() with sine/cosine caching
Supports Markdown
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