wafels/eitwave — comment on commit 5b60014ea3b1d9be1ec69267eff026c867d7d131
File: test_hough_detect.py line 129
By wafels:

Hmmm. I think I remember reading something about the assignment statement
a long time ago. I hope this does not end up being a popular gotcha in
times to come.

On Tue, Nov 22, 2011 at 10:06 PM, ayshih <
reply@reply.github.com
> wrote:

> This assignment statement does not copy, so you end up zeroing out
> wave_maps. It's probably a good idea to explicitly call the copy
> constructor:
>
> import sunpy
> invTransform = sunpy.map.BaseMap(wave_maps[i+1])
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/wafels/eitwave/commit/5b60014ea3b1d9be1ec69267eff026c867d7d131#commitcomment-739959
>