Update sph_harm.pxd

The unnecessary branching of conditions removed