set imls to None in the continuous case