Skip to content

Commit 0be600d

Browse files
committed
Fix typo in test
1 parent 97f7293 commit 0be600d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/StdStrTest.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ end
6666
@test to_std(jacobian(log.(x), x)) == "diagm(vec(1) ⊘ x)I"
6767
@test to_std(jacobian(diagm(A*x)*x, x)) == "diagm(Ax)I + diagm(x)A"
6868
@test to_std(jacobian(sin.(A * x + y), x)) == "diagm(cos(Ax + y))A"
69-
@test to_std(jacobian(diag(diagm(x' * B' * A * A)))) == "diagm(vec(1))AᵀAᵀB" # TODO: Eliminate 'diagm(vec(1))
69+
@test to_std(jacobian(diag(diagm(x' * B' * A * A)), x)) == "diagm(vec(1))AᵀAᵀB" # TODO: Eliminate 'diagm(vec(1))
7070
@test to_std(jacobian(((A .* B) * C * x)' * x * x, x)) ==
7171
"xᵀCᵀ(Aᵀ ⊙ Bᵀ)xI + x(xᵀCᵀ(Aᵀ ⊙ Bᵀ) + xᵀ(A ⊙ B)C)"
7272
end

0 commit comments

Comments
 (0)