Skip to content

Commit 036392c

Browse files
committed
remove last @pure statements
1 parent 7d25eb9 commit 036392c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/implementation/tensorcache.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ function similar_from_indices(T::Type, poA::IndexTuple, poB::IndexTuple,
2626
end
2727

2828
# should work generically but can be overwritten
29-
Base.@pure function similartype_from_indices(T::Type, p1, p2, A, CA)
29+
function similartype_from_indices(T::Type, p1, p2, A, CA)
3030
Core.Compiler.return_type(similar_from_indices,
3131
Tuple{Type{T}, typeof(p1), typeof(p2), typeof(A), Symbol})
3232
end
33-
Base.@pure function similartype_from_indices(T::Type, poA, poB, p1, p2, A, B, CA, CB)
33+
function similartype_from_indices(T::Type, poA, poB, p1, p2, A, B, CA, CB)
3434
Core.Compiler.return_type(similar_from_indices,
3535
Tuple{Type{T}, typeof(poA), typeof(poB),
3636
typeof(p1), typeof(p2), typeof(A), typeof(B),

0 commit comments

Comments
 (0)