Fix issue #37

when min and max of the domain is the same