Skip to content

Commit b9316b2

Browse files
fredrikekreandreasnoack
authored andcommitted
change some linalg exceptions to struct (#22393)
1 parent 7c88c28 commit b9316b2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

base/linalg/exceptions.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ export LAPACKException,
66
PosDefException,
77
RankDeficientException
88

9-
mutable struct LAPACKException <: Exception
9+
struct LAPACKException <: Exception
1010
info::BlasInt
1111
end
1212

13-
mutable struct ARPACKException <: Exception
13+
struct ARPACKException <: Exception
1414
info::String
1515
end
1616

@@ -25,14 +25,14 @@ function ARPACKException(i::Integer)
2525
return ARPACKException("unspecified ARPACK error: $i")
2626
end
2727

28-
mutable struct SingularException <: Exception
28+
struct SingularException <: Exception
2929
info::BlasInt
3030
end
3131

32-
mutable struct PosDefException <: Exception
32+
struct PosDefException <: Exception
3333
info::BlasInt
3434
end
3535

36-
mutable struct RankDeficientException <: Exception
36+
struct RankDeficientException <: Exception
3737
info::BlasInt
3838
end

0 commit comments

Comments
 (0)