Skip to content

Commit 4bbc0d2

Browse files
authored
Merge pull request #183 from haampie/mutable-struct-to-struct
Fix mutable structs that are not mutable
2 parents 0cb1a5e + 9654044 commit 4bbc0d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/gmres.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Base: start, next, done
22

33
export gmres, gmres!
44

5-
mutable struct ArnoldiDecomp{T, matT}
5+
struct ArnoldiDecomp{T, matT}
66
A::matT
77
V::Matrix{T} # Orthonormal basis vectors
88
H::Matrix{T} # Hessenberg matrix

src/hessenberg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Base.LinAlg: Givens, givensAlgorithm
22
import Base.A_ldiv_B!
33

4-
mutable struct Hessenberg{T<:AbstractMatrix}
4+
struct Hessenberg{T<:AbstractMatrix}
55
H::T # H is assumed to be Hessenberg of size (m + 1) × m
66
end
77

0 commit comments

Comments
 (0)