fix incorrect folder name for julia-0.6.x

Former-commit-id: ef2c7401e0876f22d2f7762d182cfbcd5a7d9c70
This commit is contained in:
2018-06-11 03:28:36 -07:00
parent 5e0e436e4e
commit 0e4acfb8f2
722 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license
export LAPACKException,
ARPACKException,
SingularException,
PosDefException,
RankDeficientException
mutable struct LAPACKException <: Exception
info::BlasInt
end
mutable struct ARPACKException <: Exception
info::String
end
function ARPACKException(i::Integer)
if i == -8
return ARPACKException("error return from calculation of a real Schur form.")
elseif i == -9
return ARPACKException("error return from calculation of eigenvectors.")
elseif i == -14
return ARPACKException("did not find any eigenvalues to sufficient accuracy. Try with a different starting vector or more Lanczos vectors by increasing the value of ncv.")
end
return ARPACKException("unspecified ARPACK error: $i")
end
mutable struct SingularException <: Exception
info::BlasInt
end
mutable struct PosDefException <: Exception
info::BlasInt
end
mutable struct RankDeficientException <: Exception
info::BlasInt
end