Skip to content

Commit

Permalink
fix potential segfault due to forgotten member initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf committed Mar 19, 2018
1 parent 567513e commit 30c0502
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shogun/features/SparseFeatures.cpp
Expand Up @@ -46,6 +46,7 @@ template<class ST> CSparseFeatures<ST>::CSparseFeatures(const CSparseFeatures &
}

template<class ST> CSparseFeatures<ST>::CSparseFeatures(CDenseFeatures<ST>* dense)
: CDotFeatures(0), feature_cache(NULL)
{
init();

Expand Down

0 comments on commit 30c0502

Please sign in to comment.