Skip to content

Commit

Permalink
HKM: set reference in apply_to_feature_matrix func
Browse files Browse the repository at this point in the history
Althouth the reference for the new feature matrix has been returned
it hasn't been set for the supplied SimpleFeatures class.
  • Loading branch information
vigsterkr committed Feb 17, 2012
1 parent eb1eff2 commit e3b7d0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/shogun/preprocessor/HomogeneousKernelMap.cpp
Expand Up @@ -171,6 +171,9 @@ SGMatrix<float64_t> CHomogeneousKernelMap::apply_to_feature_matrix (CFeatures* f
apply_to_vector (v, col);
}

/* set the new generated feature matrix */
simple_features->set_feature_matrix (result);

return result;
}

Expand Down

0 comments on commit e3b7d0e

Please sign in to comment.