Skip to content

Commit

Permalink
init before storing values
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf authored and vigsterkr committed Mar 10, 2016
1 parent 33e3b03 commit 9f4a179
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/shogun/lib/SGObjectWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ template<class T> class CSGObjectWrapper: public CSGObject

CSGObjectWrapper(T value)
{
m_value = value;

init();
m_value = value;
}

virtual const char* get_name() const { return "CSGObjectWrapper"; }
Expand Down

0 comments on commit 9f4a179

Please sign in to comment.