[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #58835] Floating point errors when comparing pixel scale in Crop
From: |
Mohammad Akhlaghi |
Subject: |
[bug #58835] Floating point errors when comparing pixel scale in Crop |
Date: |
Mon, 27 Jul 2020 05:36:47 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
URL:
<https://savannah.gnu.org/bugs/?58835>
Summary: Floating point errors when comparing pixel scale in
Crop
Project: GNU Astronomy Utilities
Submitted by: makhlaghi
Submitted on: Mon 27 Jul 2020 10:36:46 AM BST
Category: Crop
Severity: 3 - Normal
Item Group: Crash
Status: In Progress
Privacy: Public
Assigned to: makhlaghi
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
In WCS mode, Crop can take multiple images and stitch them together. To do
this, it needs to make sure that all images have the same pixel scale. But it
uses a simple equality check to see if the pixel scales are the same.
Joanna Sakowska reported that floating point errors can create problems in
this check, causing a crash in Crop.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58835>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #58835] Floating point errors when comparing pixel scale in Crop,
Mohammad Akhlaghi <=