aperiosoftware / astropy

Repository for the Astropy core package
www.astropy.org
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Include exact zeros in floating point test data #36

Closed astrofrog closed 1 year ago

astrofrog commented 1 year ago

Floating point data that contains exact zeros as these require different treatment depending on whether one uses SUBTRACTIVE_DITHER_1 or SUBTRACTIVE_DITHER_2 (in fact it is the only difference between the two). Maybe our default random array can contain exact zeros by default to avoid having even more combinations (I don't think there is any harm in including that by default).

astrofrog commented 1 year ago

Done in #44