Skip to content

Commit c43f994

Browse files
authored
Make Toeplitz operator immutable (#279)
1 parent 72131c6 commit c43f994

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Operators/banded/ToeplitzOperator.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export ToeplitzOperator, HankelOperator
22

33

4-
mutable struct ToeplitzOperator{T<:Number} <: Operator{T}
4+
struct ToeplitzOperator{T<:Number} <: Operator{T}
55
negative::Vector{T}
66
nonnegative::Vector{T}
77
end
@@ -93,7 +93,7 @@ end
9393
## Hankel Operator
9494

9595

96-
mutable struct HankelOperator{T<:Number} <: Operator{T}
96+
struct HankelOperator{T<:Number} <: Operator{T}
9797
coefficients::Vector{T}
9898
end
9999

0 commit comments

Comments
 (0)