@@ -5,6 +5,7 @@ import Base: adjoint, convert, transpose, size, getindex, similar, copy, getprop
55import Base: parent
66import Base: == , + , - , * , \
77import Base: AbstractMatrix
8+ import Base: require_one_based_indexing
89import LinearAlgebra: Cholesky, Factorization
910import LinearAlgebra: ldiv!, factorize, lmul!, pinv, eigvals, eigvecs, eigen, Eigen, det
1011import LinearAlgebra: cholesky!, cholesky, tril!, triu!, checksquare, rmul!, dot, mul!, tril, triu, diag
@@ -23,14 +24,6 @@ const HermOrSym{T,M} = Union{Hermitian{T,M}, Symmetric{T,M}}
2324export AbstractToeplitz, Toeplitz, SymmetricToeplitz, Circulant, LowerTriangularToeplitz, UpperTriangularToeplitz, TriangularToeplitz, Hankel
2425export durbin, trench, levinson
2526
26- @static if isdefined (Base, :require_one_based_indexing )
27- const require_one_based_indexing = Base. require_one_based_indexing
28- else
29- function require_one_based_indexing (A... )
30- ! Base. has_offset_axes (A... ) || throw (ArgumentError (" offset arrays are not supported but got an array with index other than 1" ))
31- end
32- end
33-
3427include (" iterativeLinearSolvers.jl" )
3528
3629# Abstract
0 commit comments