Phase equilibria in the binary Rare-Earth alloys: the Erbium-Magnesium system