From bac1127f9ef672405bd0d2d9c84e809ae89bd239 Mon Sep 17 00:00:00 2001 From: "reprojection.calibration" Date: Tue, 23 Jun 2026 11:40:29 +0200 Subject: [PATCH] Update GradientChecker docs * Use GradientChecker::ProbeResults instead of GradientCheckResults * Add missing parenthesis in if statement Change-Id: I900608eb806753ec8f42c09d395fa3b93f012e76 --- docs/source/nnls_modeling.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }