Skip to content

Commit

Permalink
remove unused barred variables
Browse files Browse the repository at this point in the history
Co-authored-by: Frames White <[email protected]>
  • Loading branch information
ElOceanografo and oxinabox authored Oct 12, 2023
1 parent ef72d49 commit 8c3467f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/rulesets/SparseArrays/sparsematrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ end
@testset "without size" begin
M, N = 7, 9
s = (8, 8)
a, ā = randn(M), randn(M)
b, b̄ = randn(M), randn(M)
c, c̄ = randn(M - 1), randn(M - 1)
a = randn(M)
b = randn(M)
c = randn(M - 1)
= randn(s)
ps = (0 => a, 1 => b, 0 => c)
y, back = rrule(spdiagm, ps...)
Expand All @@ -42,9 +42,9 @@ end
end
@testset "with size" begin
M, N = 7, 9
a, ā = randn(M), randn(M)
b, b̄ = randn(M), randn(M)
c, c̄ = randn(M - 1), randn(M - 1)
a = randn(M)
b = randn(M)
c = randn(M - 1)
= randn(M, N)
ps = (0 => a, 1 => b, 0 => c)
y, back = rrule(spdiagm, M, N, ps...)
Expand Down

0 comments on commit 8c3467f

Please sign in to comment.