summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/user-guide/07-autodiff.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/user-guide/07-autodiff.md b/docs/user-guide/07-autodiff.md
index 6f2bdc447..5d3877830 100644
--- a/docs/user-guide/07-autodiff.md
+++ b/docs/user-guide/07-autodiff.md
@@ -87,7 +87,7 @@ var x = diffPair(3.0); // constructs DifferentialPair{3.0, 0.0}
__bwd_diff(myFunc)(a, x, 1.0);
-// a.d is now 1.0
+// a.d is now 9.0
// x.d is now 12.0
```