Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
willow-ahrens committed May 13, 2024
1 parent 8fed3d9 commit e6a175b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/test_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ using Finch: AsArray
#https://github.com/willow-ahrens/Finch.jl/issues/520
let
A = rand(2, 2)
x = lazy(rand(2))
@test @einsum y[i] = A[i, j] * x[j]
x = rand(2)
lx = lazy(x)
y = compute(@einsum y[i] += A[i, j] * lx[j])
@test y == A * x
end

#https://github.com/willow-ahrens/Finch.jl/issues/554
Expand Down

0 comments on commit e6a175b

Please sign in to comment.