Skip to content

Commit

Permalink
Set to 1 granulatity minimum threshold in DynArray::set_granularity
Browse files Browse the repository at this point in the history
  • Loading branch information
iglesias committed Nov 21, 2013
1 parent fca253d commit ba1a837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/base/DynArray.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ template <class T> class DynArray
*/
inline int32_t set_granularity(int32_t g)
{
g=CMath::max(g,4);
g=CMath::max(g,1);
this->resize_granularity = g;
return g;
}
Expand Down

0 comments on commit ba1a837

Please sign in to comment.