Skip to content

Commit 2e46b1b

Browse files
committed
remove unsupported use of chained type parameters
1 parent 79e006b commit 2e46b1b

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

base/linalg/cholesky.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##########################
22
# Cholesky Factorization #
33
##########################
4-
immutable Cholesky{T,S<:AbstractMatrix{T},UpLo} <: Factorization{T}
4+
immutable Cholesky{T,S<:AbstractMatrix,UpLo} <: Factorization{T}
55
UL::S
66
end
77
immutable CholeskyPivoted{T} <: Factorization{T}

base/linalg/ldlt.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
immutable LDLt{T,S<:AbstractMatrix{T}} <: Factorization{T}
1+
immutable LDLt{T,S<:AbstractMatrix} <: Factorization{T}
22
data::S
33
end
44

base/linalg/lu.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
####################
22
# LU Factorization #
33
####################
4-
immutable LU{T,S<:AbstractMatrix{T}} <: Factorization{T}
4+
immutable LU{T,S<:AbstractMatrix} <: Factorization{T}
55
factors::S
66
ipiv::Vector{BlasInt}
77
info::BlasInt

base/linalg/symmetric.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#Symmetric and Hermitian matrices
2-
immutable Symmetric{T,S<:AbstractMatrix{T}} <: AbstractMatrix{T}
2+
immutable Symmetric{T,S<:AbstractMatrix} <: AbstractMatrix{T}
33
data::S
44
uplo::Char
55
end
66
Symmetric(A::AbstractMatrix, uplo::Symbol=:U) = (chksquare(A);Symmetric{eltype(A),typeof(A)}(A, char_uplo(uplo)))
7-
immutable Hermitian{T,S<:AbstractMatrix{T}} <: AbstractMatrix{T}
7+
immutable Hermitian{T,S<:AbstractMatrix} <: AbstractMatrix{T}
88
data::S
99
uplo::Char
1010
end

base/linalg/triangular.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Triangular
2-
immutable Triangular{T,S<:AbstractMatrix{T},UpLo,IsUnit} <: AbstractMatrix{T}
2+
immutable Triangular{T,S<:AbstractMatrix,UpLo,IsUnit} <: AbstractMatrix{T}
33
data::S
44
end
55
function Triangular{T}(A::AbstractMatrix{T}, uplo::Symbol, isunit::Bool=false)

0 commit comments

Comments
 (0)