Crystallographic study of n-pentylammonium dihydrogenarsenate, revealing a H-atoms jump as a cause of ferroelastic switching.