Skip to content

Commit

Permalink
fixed uninitialised attributes (fixes shogun-toolbox#4439) (shogun-to…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gil authored and ktiefe committed Jul 26, 2019
1 parent 3f4aa47 commit 3322bf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shogun/base/AnyParameter.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ namespace shogun
*/
AnyParameterProperties()
: m_description("No description given"),
m_model_selection(MS_NOT_AVAILABLE),
m_gradient(GRADIENT_NOT_AVAILABLE),
m_attribute_mask(ParameterProperties::NONE)
{
}
Expand Down

0 comments on commit 3322bf4

Please sign in to comment.