Skip to content

Commit

Permalink
remove unneded veiws macrod
Browse files Browse the repository at this point in the history
  • Loading branch information
oxinabox committed May 20, 2024
1 parent 938623b commit ce288b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rulesets/LinearAlgebra/structured.jl
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ end

function rrule(::Type{Tridiagonal}, dl, d, du)
y = Tridiagonal(dl, d, du)
@views function Tridiagonal_pullback(ȳ)
function Tridiagonal_pullback(ȳ)
∂y = unthunk(ȳ)
return (NoTangent(), diag(∂y, -1), diag(∂y), diag(∂y, 1))
end
Expand Down

0 comments on commit ce288b9

Please sign in to comment.