Commit afc756ff authored by Davis King's avatar Davis King

A minor change to avoid compiler warnings.

parent 48413ae8
...@@ -146,7 +146,7 @@ namespace dlib ...@@ -146,7 +146,7 @@ namespace dlib
{ {
friend class scan_fhog_pyramid; friend class scan_fhog_pyramid;
public: public:
inline unsigned long get_num_dimensions() const inline long get_num_dimensions() const
{ {
unsigned long dims = 0; unsigned long dims = 0;
for (unsigned long i = 0; i < filters.size(); ++i) for (unsigned long i = 0; i < filters.size(); ++i)
......
...@@ -360,7 +360,7 @@ namespace dlib ...@@ -360,7 +360,7 @@ namespace dlib
!*/ !*/
public: public:
unsigned long get_num_dimensions( long get_num_dimensions(
) const; ) const;
/*! /*!
ensures ensures
......
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