Repository navigation
Commit 4a0b7c6
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 314396b commit 4a0b7c6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1010 | 1010 | | |
1011 | 1011 | | |
1012 | 1012 | | |
1013 | | - | |
| 1013 | + | |
1014 | 1014 | | |
1015 | 1015 | | |
1016 | 1016 | | |
| |||
0 commit comments