Removed the (now redundant) INF/NAN check