You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In void HierarchicalSNE<scalar_type, sparse_scalar_matrix_type>::initializeFirstScale() there is the danger of an integer overlow in the for loop .
int idx = i * nn + n; will overflow for moderately large data (> ~25M points, perplexity 30).
Even unsigned will be rather limited. It should be considered to also move to 64bit indices wherever indexing into data structures with multiple values per datapoint.
The text was updated successfully, but these errors were encountered:
In
void HierarchicalSNE<scalar_type, sparse_scalar_matrix_type>::initializeFirstScale()
there is the danger of an integer overlow in the for loop .int idx = i * nn + n;
will overflow for moderately large data (> ~25M points, perplexity 30).Even unsigned will be rather limited. It should be considered to also move to 64bit indices wherever indexing into data structures with multiple values per datapoint.
The text was updated successfully, but these errors were encountered: