Commit 0ffb9f9d authored by Bentriou Mahmoud's avatar Bentriou Mahmoud

I tried to optimize with multiple dispatch and types but it doesn't work.

parent 3173a3fd
This diff is collapsed.
......@@ -67,7 +67,7 @@ function Base.copyto!(Sdest::StateLHA, Ssrc::StateLHA)
Sdest.A = Ssrc.A
Sdest.loc = Ssrc.loc
for i = eachindex(Sdest.values)
Sdest.values[i] = Ssrc.values[i]
Sdest.values[i] = Ssrc.values[i]
end
Sdest.time = Ssrc.time
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment