Closed alexgenin closed 8 years ago
In the coarse graining code , we take average over the submatrix which includes dividing by the subsize. So you can not take subsize=0. If you want no coarse graining , take subsize =1. On 9 Feb 2016 22:26, "Alex Genin" notifications@github.com wrote:
Add a check in the coarse_grain to catch this ? (or maybe do it at higher level to avoid exceptions in highly-repeated code).
— Reply to this email directly or view it on GitHub https://github.com/fdschneider/spatial_warnings/issues/44.
Fixed in 8d46593dd9599de1c70c4433813c1287c7c99e7c
Add a check in coarse_grain() to catch this ? (or maybe do it at higher level to avoid exceptions in highly-repeated code).