Skip to content

Commit

Permalink
init result in factory::features_subset
Browse files Browse the repository at this point in the history
  • Loading branch information
vigsterkr committed May 17, 2018
1 parent ca3d1af commit 8c3c372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/util/factory.h
Expand Up @@ -88,7 +88,7 @@ namespace shogun
CFeatures* features_subset(CFeatures* base_features, SGVector<index_t> indices,
EPrimitiveType primitive_type = PT_FLOAT64)
{
CFeatures* result;
CFeatures* result = nullptr;
REQUIRE(base_features, "No base features provided.\n");

switch (primitive_type)
Expand Down

0 comments on commit 8c3c372

Please sign in to comment.