Skip to content

Commit

Permalink
rescue XML serialization for sure
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf committed Mar 1, 2016
1 parent 9500c68 commit 798a3ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/shogun/lib/WrappedBasic.h
Expand Up @@ -55,7 +55,9 @@ template<class T> class CWrappedBasic: public CSGObject
/** Default constructor. Do not use. */
CWrappedBasic() : CSGObject()
{
m_value = (T) 0;
// use my initials as standard value as XML cannot serialise (char)0
// QUIZ: Who am I?
m_value = 'H';
m_value_name = "Unnamed";
set_generic<T>();
register_params();
Expand Down

0 comments on commit 798a3ac

Please sign in to comment.