Skip to content

Commit 2cf5301

Browse files
Fix derivative notation in autodiff.jl (#17)
\partial s_3/\partial s_2 instead of \partial s_3/\partial s_1 for the second part
1 parent a049131 commit 2cf5301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lectures/autodiff.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ md"""
725725
* Initialize ``\partial s_3 / \partial s_1 = \partial s_3 / \partial s_2 = \partial s_3 / \partial x = 0``
726726
* First part: ``\partial s_3/\partial s_1 \mathrel{\raise{0.19ex}{\scriptstyle+}} = 1``
727727
- ``\partial s_3 / \partial x \mathrel{\raise{0.19ex}{\scriptstyle+}} = 1 \cdot 1 \vert_{x=3}``
728-
* Second part: ``\partial s_3/\partial s_1 \mathrel{\raise{0.19ex}{\scriptstyle+}} = 1``
728+
* Second part: ``\partial s_3/\partial s_2 \mathrel{\raise{0.19ex}{\scriptstyle+}} = 1``
729729
- ``\partial s_3 / \partial x \mathrel{\raise{0.19ex}{\scriptstyle+}} = 1 \cdot 2x \vert_{x=3}``
730730
* The result is ``\partial s_3 / \partial x = 7``.
731731
"""]))

0 commit comments

Comments
 (0)