Skip to content

Commit 3b6cfc5

Browse files
committed
format
1 parent b813e99 commit 3b6cfc5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

NDTensors/test/test_dense.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ NDTensors.dim(i::MyInd) = i.dim
8888
@allowscalar fill!(B, zero(elt))
8989
β = elt(2.0)
9090
α = elt(1.0)
91-
permutedims!!(A, B, (1,2), (a,b) -> +(*(β, a), *(α, b)))
91+
permutedims!!(A, B, (1, 2), (a, b) -> +(*(β, a), *(α, b)))
9292
@allowscalar 2.0 .* C == A
9393
randn!(B)
9494
C = copy(A)
95-
A = permutedims!!(A, B, (1,2), (a,b) -> +(*(β, a), *(α, b)))
95+
A = permutedims!!(A, B, (1, 2), (a, b) -> +(*(β, a), *(α, b)))
9696
@allowscalar for i in 1:3, j in 1:4
97-
@test A[i,j] == α * B[i,j] + β * C[i,j]
97+
@test A[i, j] == α * B[i, j] + β * C[i, j]
9898
end
9999

100100
## add elt around 2.0 to preserve the eltype of A.

0 commit comments

Comments
 (0)