Pseudo-discontinuities in the isomer shift near magnetic transitions