Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
always set dot feature property on init
  • Loading branch information
Soeren Sonnenburg committed Oct 13, 2011
1 parent 12a5173 commit 18a93b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/features/DotFeatures.cpp
Expand Up @@ -43,7 +43,6 @@ CDotFeatures::CDotFeatures(int32_t size)
:CFeatures(size), combined_weight(1.0)
{
init();
set_property(FP_DOT);
}


Expand Down Expand Up @@ -460,6 +459,7 @@ void CDotFeatures::display_progress(int32_t start, int32_t stop, int32_t v)

void CDotFeatures::init()
{
set_property(FP_DOT);
m_parameters->add(&combined_weight, "combined_weight",
"Feature weighting in combined dot features.");
}

0 comments on commit 18a93b9

Please sign in to comment.