On Tue, Jun 27, 2017 at 07:08:41PM +0200, Mohammad Akhlaghi wrote: > Thank you very much, > > This is very strange because these test scripts all have the `--naxis1' and > `--naxis2' options that the error message complains about! >...
I found the bug: bin/mkprof/main.h long naxes[2]; /* Size of the output image. */ bin/mkprof/args.h &p->naxes[0], GAL_TYPE_UINT64, ... &p->naxes[1], GAL_TYPE_INT64, Changing these to GAL_TYPE_SIZE_T fixes the problem. Looking at the code, shift seems to have the same problem. > Thanks again, > Mohammad cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed