Skip to content

Commit 72a87ce

Browse files
committed
Bugfix
1 parent 3cc6fb4 commit 72a87ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function poly(ρ::AbstractVector, W::AbstractMatrix, type::Symbol)
148148

149149
return type == :ar ? I - common : I + common
150150
end
151-
Base.copy::Simple) = Simple(copy(cov(Σ)))
151+
Base.copy::Simple) = Simple(copy(cov(ε)))
152152
function Base.copy::SpatialAutoregression)
153153
SpatialAutoregression(copy(spatial(ε)), ε.ρmax, copy(weights(ε)), copy(cov(ε)))
154154
end

0 commit comments

Comments
 (0)