Skip to content

Commit

Permalink
Update NDTensors/test/test_dense.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Fishman <[email protected]>
  • Loading branch information
kmp5VT and mtfishman authored Oct 12, 2024
1 parent 7525f30 commit c4f014e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NDTensors/test/test_dense.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ NDTensors.dim(i::MyInd) = i.dim
β = elt(2)
α = elt(1)
permutedims!!(A, B, (1, 2), (a, b) -> +(*(β, a), *(α, b)))
@allowscalar 2.0 .* C == A
@allowscalar 2 .* C == A
randn!(B)
C = copy(A)
A = permutedims!!(A, B, (1, 2), (a, b) -> +(*(β, a), *(α, b)))
Expand Down

0 comments on commit c4f014e

Please sign in to comment.