From d1b35ffc161fd857c7c433574ca82aa9b2db7f98 Mon Sep 17 00:00:00 2001 From: Sameer Agarwal Date: Mon, 12 Oct 2020 10:58:05 -0700 Subject: [PATCH] Corrections from William Rucklidge Change-Id: Ifb50e87aa915d00f9861fe1a6da0acee11bc0a94 --- docs/source/nnls_modeling.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/nnls_modeling.rst b/docs/source/nnls_modeling.rst index 5018579e4..dc43398c2 100644 --- a/docs/source/nnls_modeling.rst +++ b/docs/source/nnls_modeling.rst @@ -380,7 +380,7 @@ the corresponding accessors. This information will be verified by the template // Size of each parameter block. + int... Ns> // Size of each parameter block. class NumericDiffCostFunction : public SizedCostFunction { }; @@ -1547,7 +1547,7 @@ quaternion, a local parameterization can be constructed as :class:`Problem` holds the robustified bounds constrained non-linear least squares problem :eq:`ceresproblem_modeling`. To create a least squares problem, use the - :func:`Problem::AddResiualBlock` and + :func:`Problem::AddResidalBlock` and :func:`Problem::AddParameterBlock` methods. For example a problem containing 3 parameter blocks of sizes 3, 4 @@ -1734,7 +1734,7 @@ quaternion, a local parameterization can be constructed as .. function:: ResidualBlockId Problem::AddResidualBlock(CostFunction* cost_function, LossFunction* loss_function, const vector parameter_blocks) -.. function:: template ResidualBlockId +.. function:: template ResidualBlockId Problem::AddResidualBlock(CostFunction* cost_function, LossFunction* loss_function, double* x0, Ts... xs)