Update nn_index.h

a bugfix
Merge pull request #173 from chinakook/master

Update nn_index.h