Skip to content

Commit a836192

Browse files
committed
Update doctests
1 parent f5eb4c6 commit a836192

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/std.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ gradient(x' * A * x, x)
122122
123123
# output
124124
125-
x₃A³⁵ + A⁵₄x⁴
125+
x₄A⁴⁶ + A⁶₅x⁵
126126
```
127127
"""
128128
function gradient(expr, wrt::Monomial)
@@ -154,7 +154,7 @@ jacobian(A * x, x)
154154
155155
# output
156156
157-
A³
157+
A¹
158158
```
159159
"""
160160
function jacobian(expr, wrt::Monomial)
@@ -185,7 +185,7 @@ hessian(x' * A * x, x)
185185
186186
# output
187187
188-
A₆⁵ + A⁵₆
188+
A₇⁶ + A⁶₇
189189
```
190190
"""
191191
function hessian(expr, wrt::Monomial)

0 commit comments

Comments
 (0)