From 182889e00388b2c300af78da068beabf0c85f4b5 Mon Sep 17 00:00:00 2001 From: Steven Roberts Date: Thu, 31 Oct 2024 14:33:53 -0700 Subject: [PATCH] Fix typos in linear solver section of CVODE skeleton docs --- doc/cvode/guide/source/Usage/index.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/cvode/guide/source/Usage/index.rst b/doc/cvode/guide/source/Usage/index.rst index 3c56d48587..b2e793d5e3 100644 --- a/doc/cvode/guide/source/Usage/index.rst +++ b/doc/cvode/guide/source/Usage/index.rst @@ -208,15 +208,15 @@ function to be called or macro to be referenced. If a nonlinear solver requiring a linear solver is chosen (e.g., the default Newton iteration), then initialize the CVLS linear solver interface by attaching the linear solver object (and matrix object, - if applicable) with a call ``ier = CVodeSetLinearSolver(cvode_mem, NLS)`` (for details see - :numref:`CVODE.Usage.CC.callable_fct_sim.lin_solv_init`): + if applicable) with a call ``ier = CVodeSetLinearSolver(cvode_mem, LS, A)`` + (for details see :numref:`CVODE.Usage.CC.callable_fct_sim.lin_solv_init`). Alternately, if the CVODE-specific diagonal linear solver module, CVDIAG, is desired, initialize the linear solver module and attach it to CVODE with the call to :c:func:`CVodeSetLinearSolver`. #. **Set optional inputs** - Call ```CVodeSet***`` functions to change any optional inputs that control the + Call ``CVodeSet***`` functions to change any optional inputs that control the behavior of CVODE from their default values. See :numref:`CVODE.Usage.CC.optional_input` for details.