Corrected a typo in input_minmax