Support error in case of Infinity (#116)