Skip to content

Commit

Permalink
Update test/rulesets/LinearAlgebra/structured.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Frames White <[email protected]>
  • Loading branch information
ChrisRackauckas and oxinabox authored Nov 23, 2023
1 parent e823ed8 commit 9ba86d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rulesets/LinearAlgebra/structured.jl
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
end

@testset "Tridiagonal" begin
res, pb = rrule(Tridiagonal, [1, 4], [2, 3, 4], [5, 3])
test_rrule(Tridiagonal, [1.0, 4.0], [2.0, 3.0, 4.0], [5.0, 3.0])
@test pb(10 * res) == (NoTangent(), [10, 40], [20, 30, 40], [50, 30])
end
end

0 comments on commit 9ba86d8

Please sign in to comment.