Exploring the stellar properties of M dwarfs with high-resolution spectroscopy from the optical to the near-infrared (Corrigendum)