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
openTSNE/dependencies/annoy/annoymodule.cc:180:12: error: cast from pointer to smaller type 'int' loses information
180 | return (int) NULL;
| ^~~~~~~~~~
1 error generated.
error: command '/usr/local/libexec/ccache/cc' failed with exit code 1
ERROR Backend subprocess exited when trying to invoke build_wheel
In C++ NULL is for a null pointer, and it isn't castable to int.
The code around this line actually doesn't make sense: it returns 0 regardless of the comparison result.