Skip to content

Commit

Permalink
Merge pull request #4144 from guruhegde/feature/update_constructor_An…
Browse files Browse the repository at this point in the history
…yParameterProperties

Add default arguments to AnyParameterProperties ctor
  • Loading branch information
karlnapf committed Feb 3, 2018
2 parents fa7728a + 652882a commit 25c9944
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shogun/base/AnyParameter.h
Expand Up @@ -32,8 +32,8 @@ namespace shogun
}
AnyParameterProperties(
std::string description,
EModelSelectionAvailability model_selection,
EGradientAvailability gradient)
EModelSelectionAvailability model_selection = MS_NOT_AVAILABLE,
EGradientAvailability gradient = GRADIENT_NOT_AVAILABLE)
: m_description(description), m_model_selection(model_selection),
m_gradient(gradient)
{
Expand Down

0 comments on commit 25c9944

Please sign in to comment.