Skip to content

Commit

Permalink
Initialization bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dorian3d committed May 1, 2016
1 parent ff2d570 commit 6544e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/DBoW2/TemplatedDatabase.h
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ class TemplatedDatabase
template<class TDescriptor, class F>
TemplatedDatabase<TDescriptor, F>::TemplatedDatabase
(bool use_di, int di_levels)
: m_voc(NULL), m_use_di(use_di), m_dilevels(di_levels)
: m_voc(NULL), m_use_di(use_di), m_dilevels(di_levels), m_nentries(0)
{
}

Expand Down

0 comments on commit 6544e10

Please sign in to comment.