faiss
faiss copied to clipboard
Fix deprecated use of 0/NULL in faiss/gpu/test/demo_ivfpq_indexing_gpu.cpp + 1
Summary:
nullptr
is typesafe. 0
and NULL
are not. In the future, only nullptr
will be allowed.
This diff helps us embrace the future now in service of enabling -Wzero-as-null-pointer-constant
.
Differential Revision: D55755257
This pull request was exported from Phabricator. Differential Revision: D55755257