Skip to content

Commit

Permalink
Fix for changes in #772 - memory-wise correct get_features in StringF…
Browse files Browse the repository at this point in the history
…eatures
  • Loading branch information
lisitsyn committed Sep 15, 2012
1 parent 6697048 commit 4217b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/features/StringFeatures.cpp
Expand Up @@ -953,7 +953,7 @@ template<class ST> bool CStringFeatures<ST>::append_features(SGString<ST>* p_fea

template<class ST> SGStringList<ST> CStringFeatures<ST>::get_features()
{
SGStringList<ST> sl;
SGStringList<ST> sl(NULL,0,0,false);

sl.strings=get_features(sl.num_strings, sl.max_string_length);
return sl;
Expand Down

0 comments on commit 4217b41

Please sign in to comment.