Added NumTraits for type2index.
1 file changed