diff --git a/refl1d/errors.py b/refl1d/errors.py index 1df20248..b7b8cd20 100644 --- a/refl1d/errors.py +++ b/refl1d/errors.py @@ -188,7 +188,7 @@ def record_point(): slabs_i = [L.thickness.value for L in m.sample[1:-1]] slabs[m].append(np.array(slabs_i)) if m.ismagnetic: - z, rho, irho, rhoM, thetaM = m.magnetic_step_profile() + z, rho, irho, rhoM, thetaM = m.magnetic_smooth_profile() profiles[m].append((z+0, rho+0, irho+0, rhoM+0, thetaM+0)) else: z, rho, irho = m.smooth_profile()