Fix a spelling error in nnls_modeling.rst

Change-Id: I341d901d3df993bc5397ed15e6cb330b0c38fd72
diff --git a/docs/source/nnls_modeling.rst b/docs/source/nnls_modeling.rst
index f7c1c72..e315e4a 100644
--- a/docs/source/nnls_modeling.rst
+++ b/docs/source/nnls_modeling.rst
@@ -187,7 +187,7 @@
        // Ignore the template parameter kNumResiduals and use
        // num_residuals instead.
        AutoDiffCostFunction(CostFunctor* functor, int num_residuals);
-     }g
+     };
 
    To get an auto differentiated cost function, you must define a
    class with a templated ``operator()`` (a functor) that computes the