add std:: to isnan