Fixed bug with InexactError