Skip to content

Commit

Permalink
Fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ris-Bali committed Dec 20, 2023
1 parent f381ba9 commit ab7c364
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/userDocs/source/user/UsingClad.rst
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ Consider the case of the input being an array we need to specify the array index
that needs to be differentiated even when we want to differentiate w.r.t entire array.

.. code-block:: cpp
#include "clad/Differentiator/Differentiator.h"
double fn(double x, double arr[2]) {
return x * arr[0] * arr[1];
Expand Down

0 comments on commit ab7c364

Please sign in to comment.