Fixed depricated Assert method for doubles