Skip to content

Commit a488189

Browse files
committed
eltype -> scalartype
1 parent c7d004e commit a488189

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎src/implementation/strided.jl‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ function tensoradd!(
2121
@nospecialize backend allocator
2222

2323
# standardize input types for compilation time
24-
α′ = eltype(C)(α)
25-
β′ = eltype(C)(β)
24+
α′ = scalartype(C)(α)
25+
β′ = scalartype(C)(β)
2626
p = linearize(pA)
2727

2828
# resolve conj flags and absorb into StridedView constructor to avoid type instabilities later on
@@ -44,8 +44,8 @@ function tensortrace!(
4444
@nospecialize backend allocator
4545

4646
# standardize input types for compilation time
47-
α′ = eltype(C)(α)
48-
β′ = eltype(C)(β)
47+
α′ = scalartype(C)(α)
48+
β′ = scalartype(C)(β)
4949
p′ = linearize(p)
5050

5151
# resolve conj flags and absorb into StridedView constructor to avoid type instabilities later on

0 commit comments

Comments
 (0)