Hi Adrian,

Thank you very much for finding the problem. I really appreciate it. I have made the fix in the Gnuastro code and submitted it to Debian Astro.

To fix the problem, a new machine-specific type code (GAL_TYPE_LONG) is defined. It is just an alias for GAL_TYPE_INT32 or GAL_TYPE_INT64 depending on the system (similar to how GAL_TYPE_SIZE_T is defined). The problem would also be fixed with GAL_TYPE_SIZE_T, but since the the arrays are of type `long' (mandated by the CFITSIO library that we use), I thought it would be more clear to define this new `long' type type code.

Hopefully Debian Astro will upload the changed to Debian servers and this problem will be fixed.

Thank you very much again for your great help in finding and solving this important bug.

Gratefully yours,
Mohammad

Reply via email to