-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
I use this command to compile from the main page:
g++ -std=c++11 -O3 src/sptree.cpp src/tsne.cpp src/nbodyfft.cpp -o bin/fast_tsne -pthread -lfftw3 -lmbut got a warning, and the program stop:
In file included from src/tsne.cpp:42:0:
src/annoylib.h:84:17: note: #pragma message: Using no AVX instructions
#pragma message "Using no AVX instructions"
^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tsne.cpp: In member function 'void TSNE::computeGradient(double*, unsigned int*, unsigned int*, double*, double*, int, int, double*, double, unsigned int)':
src/tsne.cpp:633:89: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
pos_f[i * 2 + 1], neg_f[i * 2] / sum_Q, neg_f[i * 2 + 1] / sum_Q);what's wrong with the program, thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels