Skip to content

Commit

Permalink
fix errors noted in #280
Browse files Browse the repository at this point in the history
  • Loading branch information
gardner48 committed Jun 25, 2023
1 parent 15a7944 commit a6216bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/cvodes/guide/source/Usage/ADJ.rst
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ use in Forward Sensitivity Analysis; for that, see :numref:`CVODES.Usage.FSA`.
The call to this function has the form


.. c:function:: int CVodeF(void * cvode_mem, realtype tout, N_Vector yret, realtype tret, int itask, int ncheck)
.. c:function:: int CVodeF(void * cvode_mem, realtype tout, N_Vector yret, realtype* tret, int itask, int ncheck)
The function :c:func:`CVodeF` integrates the forward problem over an interval
in :math:`t` and saves checkpointing data.
Expand Down Expand Up @@ -1353,7 +1353,7 @@ To extract the values of the quadrature variables at the last return time of
:c:func:`CVodeGetQuad`.
.. c:function:: int CVodeGetQuadB(void * cvode_mem, whichrealtype tret, N_Vector yQB)
.. c:function:: int CVodeGetQuadB(void * cvode_mem, int which, realtype* tret, N_Vector yQB)
The function :c:func:`CVodeGetQuadB` returns the quadrature solution vector
after a successful return from :c:func:`CVodeB`.
Expand Down
4 changes: 2 additions & 2 deletions doc/cvodes/guide/source/Usage/SIM.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4024,7 +4024,7 @@ solution and quadratures at time ``t``. However, :c:func:`CVode` will still retu
only the solution :math:`y` in ``yout``. Solution quadratures can be obtained
using the following function:
.. c:function:: int CVodeGetQuad(void * cvode_mem, realtype tret, N_Vector yQ)
.. c:function:: int CVodeGetQuad(void * cvode_mem, realtype* tret, N_Vector yQ)
The function ``CVodeGetQuad`` returns the quadrature solution vector after a successful return from ``CVode``.
Expand Down Expand Up @@ -4104,7 +4104,7 @@ If the quadrature variables are part of the step size control mechanism,
one of the following functions must be called to specify the
integration tolerances for quadrature variables.
.. c:function:: int CVodeQuadSVtolerances(void * cvode_mem, realtype reltolQ, realtype abstolQ)
.. c:function:: int CVodeQuadSVtolerances(void * cvode_mem, realtype reltolQ, N_Vector abstolQ)
The function ``CVodeQuadSStolerances`` specifies scalar relative and absolute tolerances.
Expand Down

0 comments on commit a6216bb

Please sign in to comment.