GollyGang / ready

A cross-platform implementation of various reaction-diffusion systems and PDEs.
GNU General Public License v3.0
766 stars 60 forks source link

Resizing some patterns allows NaNs to creep in #61

Closed timhutton closed 4 years ago

timhutton commented 4 years ago

I noticed this with parameter_modulation_demo.vti, where the overlays don't fill the whole image. Upon resizing (but not loading) parts of the image are uninitialized, which sometimes leads to NaNs in the simulation. Presumably the intention is to zero the images when resizing.