Changeset 39248 for trunk/Ohana/src/relastro
- Timestamp:
- Dec 11, 2015, 9:39:10 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/relastro/src/fitpm.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relastro/src/fitpm.c
r39246 r39248 65 65 } 66 66 67 gaussdev_init ();67 ohana_gaussdev_init (); 68 68 69 69 FitStats *fitStats = FitStatsInit (N_POINTS + N_OUTLIERS, N_BOOTSTRAP); … … 154 154 } 155 155 // return exit_status(); 156 gaussdev_free();156 ohana_gaussdev_free(); 157 157 158 158 exit (0); … … 176 176 ParFactor (&pR, &pD, Ro, Do, points[i].T); 177 177 178 double dR = gaussdev_rnd(0.0, POS_ERROR);179 double dD = gaussdev_rnd(0.0, POS_ERROR);178 double dR = ohana_gaussdev_rnd(0.0, POS_ERROR); 179 double dD = ohana_gaussdev_rnd(0.0, POS_ERROR); 180 180 181 181 points[i].R = Ro + (dR + plx*pR + uR*(points[i].T - MJD_REF_YRS))/3600/dcos(Do);
Note:
See TracChangeset
for help on using the changeset viewer.
