Skip to content

Commit d820658

Browse files
committed
Remove improper use of unsafe_pure
1 parent 6c9f5d1 commit d820658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/LinearAlgebra/src/deprecated.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ _RowVector_depstring() = string("`ConjRowVector` and `RowVector` have been depre
413413
"of the associated changes.")
414414

415415
@inline check_types(::Type{T1}, ::AbstractVector{T2}) where {T1,T2} = check_types(T1, T2)
416-
@unsafe_pure check_types(::Type{T1}, ::Type{T2}) where {T1,T2} = T1 === transpose_type(T2) ? nothing :
416+
check_types(::Type{T1}, ::Type{T2}) where {T1,T2} = T1 === transpose_type(T2) ? nothing :
417417
error("Element type mismatch. Tried to create a `RowVector{$T1}` from an `AbstractVector{$T2}`")
418418

419419
# The element type may be transformed as transpose is recursive

0 commit comments

Comments
 (0)