[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #65833] Convolve crashes when the kernel only has a single element
From: |
Mohammad Akhlaghi |
Subject: |
[bug #65833] Convolve crashes when the kernel only has a single element |
Date: |
Tue, 4 Jun 2024 06:43:43 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?65833>
Summary: Convolve crashes when the kernel only has a single
element
Group: GNU Astronomy Utilities
Submitter: makhlaghi
Submitted: Tue 04 Jun 2024 12:43:43 PM CEST
Category: Convolve
Severity: 3 - Normal
Item Group: Crash
Status: In Progress
Privacy: Public
Assigned to: makhlaghi
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 04 Jun 2024 12:43:43 PM CEST By: Mohammad Akhlaghi <makhlaghi>
When the input kernel to the Convolve program has a single element, it crashes
by complaining about non-equal number of dimensions! Eventhough they do indeed
have the same number of dimensions:
$ astarithmetic 100 100 2 makenew -oimg.fits
$ echo 1 | astconvertt -okernel.fits
$ astconvolve img.fits --kernel=kernel.fits
astconvolve: input datasets must have the same number of dimension
$ astfits kernel.fits -q
0 CONVERTTYPE-CONFIG no-data 0 n/a
1 n/a float64 1x1 n/a
$ astfits img.fits -q
0 ARITHMETIC-CONFIG no-data 0 n/a
1 n/a uint8 100x100 n/a
I am working on the fix to this bug.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65833>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #65833] Convolve crashes when the kernel only has a single element,
Mohammad Akhlaghi <=