diff --git a/docs/source/nnls_modeling.rst b/docs/source/nnls_modeling.rst index 9d33b5197..ae34e6b4b 100644 --- a/docs/source/nnls_modeling.rst +++ b/docs/source/nnls_modeling.rst @@ -915,8 +915,8 @@ Numeric Differentiation & Manifolds GradientChecker gradient_checker(my_cost_function, manifolds, numeric_diff_options); - GradientCheckResults results; - if (!gradient_checker.Probe(parameter_blocks.data(), 1e-9, &results) { + GradientChecker::ProbeResults results; + if (!gradient_checker.Probe(parameter_blocks.data(), 1e-9, &results)) { LOG(ERROR) << "An error has occurred:\n" << results.error_log; }