View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002164 | CCdciel | General | public | 19-08-11 16:58 | 19-08-11 17:21 |
Reporter | han | Assigned To | |||
Priority | low | Severity | tweak | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Target Version | 1.0 | ||||
Summary | 0002164: Code tweak for HFD calculation | ||||
Description | Suggest the following code optimisation in cu_fits.pas. I noted that in very very rare cases the Sumval value can be below zero resulting in my program in a run time error. In cu_fits line 1713 and line 1886, so twice: - Sumval:=Sumval+0.00001;{prevent divide by zero} + if Sumval<0.00001 then Sumval:=0.00001;{prevent divide by zero} | ||||
Tags | No tags attached. | ||||
|
Thank you, I apply the fix. Must be really strange image to get a star detection with the values inside the box smaller than BG. |
Date Modified | Username | Field | Change |
---|---|---|---|
19-08-11 16:58 | han | New Issue | |
19-08-11 17:21 | Patrick Chevalley | Status | new => resolved |
19-08-11 17:21 | Patrick Chevalley | Resolution | open => fixed |
19-08-11 17:21 | Patrick Chevalley | Target Version | => 1.0 |
19-08-11 17:21 | Patrick Chevalley | Note Added: 0005839 |