Solved bug in mathcore/c_src/search_index_of.cu