bugGNU Astronomy Utilities - Bugs: bug #56299, cosmiccal fails at z=0

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #56299: cosmiccal fails at z=0

Submitter:  Leindert Boogaard <laboogaard>
Submitted:  Fri 10 May 2019 01:12:47 PM UTC
   
 
Category:  CosmicCalculator Severity:  3 - Normal
Item Group:  Crash Status:  Fixed
Privacy:  Public Assigned to:  makhlaghi
Open/Closed:  Closed

Fri 10 May 2019 01:44:34 PM UTC, comment #1: 

This was an interesting situation! I had never tried it with `-z0'! I was able to reproduce the problem.

The fix has been implemented and pushed to the main repository.

To be even closer to zero, but not pass the 64bit floating point precision, I set the internal value to 1e-14 ;-).

This fixed it on my system. When you get the chance, please try it out and inform us if the problem remains.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Fri 10 May 2019 01:12:47 PM UTC, original submission:  

astcosmiccal reports a numerical error when trying to compute parameters at z=0.

$ astcosmiccal -z0
gsl: qng.c:189: ERROR: failed to reach tolerance with highest-order rule
Default GSL error handler invoked.
Abort trap: 6

This was tested with version 0.9.

A potential workaround is to catch 0 and compute at a very small number (1e-10) instead?

Leindert Boogaard <laboogaard>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Posted a comment)
  • -email is unavailable- added by laboogaard (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-10 makhlaghi StatusNone Fixed
        Assigned toNone makhlaghi
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code