Repository navigation
Commit f476436
committed
Loose identity test of a HCOMPRESSed image
HCOMPRESSed images are allowed to deviate from the original by
about 1/quantize_level of the RMS in each tile. This patch changes
the absolute identity test to a comparison with an accuracy up to the
mentioned level.
This fixes astropy#4647, if the cause I assume is correct. Someone with insight in
HCOMPRESS should check this carefully, however.1 parent 1862f24 commit f476436
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1010 | 1010 | | |
1011 | 1011 | | |
1012 | 1012 | | |
1013 | | - | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
1014 | 1016 | | |
1015 | 1017 | | |
1016 | 1018 | | |
| |||
0 commit comments