Skip to content

Commit f85a496

Browse files
committed
Fix definition of inverse for test struct Bar
1 parent de31094 commit f85a496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_inverse.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ struct Bar{MT<:AbstractMatrix}
1616
end
1717

1818
(f::Bar)(x) = f.A * x
19-
InverseFunctions.inverse(f) = Bar(inv(f.A))
19+
InverseFunctions.inverse(f::Bar) = Bar(inv(f.A))
2020

2121

2222
@testset "inverse" begin

0 commit comments

Comments
 (0)