- Timestamp:
- Mar 17, 2009, 12:08:50 PM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090301
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psLib/src/fits/psFitsScale.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090301
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk merged eligible /branches/eam_branches/eam_branch_20090303 23158-23228
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/cnb_branches/cnb_branch_20090301/psLib/src/fits/psFitsScale.c
r21183 r23352 112 112 // psImageBackground automatically excludes pixels that are non-finite, so we don't need to bother about a 113 113 // mask. 114 psU64 seed = p_psRandomGetSystemSeed(false); 115 psRandom *rng = psRandomAlloc(PS_RANDOM_TAUS, seed); 114 psRandom *rng = psRandomAlloc(PS_RANDOM_TAUS); 116 115 psStats *stats = psStatsAlloc(MEAN_STAT | STDEV_STAT); // Statistics object 117 116 if (!psImageBackground(stats, NULL, image, mask, maskVal, rng)) { … … 290 289 if (!psMemIncrRefCounter(rng) && options->fuzz) { 291 290 // Don't blab about which seed we're going to get --- it's not necessary for this purpose 292 psU64 seed = p_psRandomGetSystemSeed(false); 293 rng = psRandomAlloc(PS_RANDOM_TAUS, seed); 291 rng = psRandomAlloc(PS_RANDOM_TAUS); 294 292 } 295 293
Note:
See TracChangeset
for help on using the changeset viewer.
