Relegate checking for nans to the GradientTable object.