Temperature dependence of the electrical resistivity and deviations from matthiessen's rule of Pd-Er alloys