[relate] Fix uninitialized const object error.
[nsphere][num_points] Fix compilation errors.
[nsphere][index][rstar] Fix compilation errors.