Skip to content

Commit 7525f30

Browse files
kmp5VTmtfishman
andauthored
Update NDTensors/test/test_dense.jl
Co-authored-by: Matt Fishman <[email protected]>
1 parent 3b6cfc5 commit 7525f30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NDTensors/test/test_dense.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ NDTensors.dim(i::MyInd) = i.dim
8686
## Testing A .= α .* B .+ β .* A
8787
C = copy(A)
8888
@allowscalar fill!(B, zero(elt))
89-
β = elt(2.0)
90-
α = elt(1.0)
89+
β = elt(2)
90+
α = elt(1)
9191
permutedims!!(A, B, (1, 2), (a, b) -> +(*(β, a), *(α, b)))
9292
@allowscalar 2.0 .* C == A
9393
randn!(B)

0 commit comments

Comments
 (0)