Skip to content

Commit

Permalink
Update structured.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Nov 22, 2023
1 parent 675feca commit 3459acb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/rulesets/LinearAlgebra/structured.jl
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,9 @@
end
end
end

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

0 comments on commit 3459acb

Please sign in to comment.