Skip to content

Commit

Permalink
disable refcounting for 'current' vector in streaming features
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed Aug 31, 2012
1 parent bb0907c commit fc5a120
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/shogun/features/streaming/StreamingDenseFeatures.cpp
Expand Up @@ -224,8 +224,7 @@ bool CStreamingDenseFeatures<T>::get_next_example()
template <class T>
SGVector<T> CStreamingDenseFeatures<T>::get_vector()
{
current_sgvector.vector=current_vector;
current_sgvector.vlen=current_length;
current_sgvector=SGVector<T>(current_vector, current_length, false);

return current_sgvector;
}
Expand Down

0 comments on commit fc5a120

Please sign in to comment.