Changeset 6484 for trunk/psLib/test/math/tst_psRandom.c
- Timestamp:
- Feb 24, 2006, 1:43:16 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/math/tst_psRandom.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/math/tst_psRandom.c
r4951 r6484 122 122 psRandom *myRNG = NULL; 123 123 psVector *rans = psVectorAlloc(NUM_DATA, PS_TYPE_F64); 124 rans->n = rans->nalloc; 124 125 psStats *stats = psStatsAlloc(PS_STAT_SAMPLE_MEAN); 125 126 … … 167 168 psRandom *myRNG = NULL; 168 169 psVector *rans = psVectorAlloc(NUM_DATA, PS_TYPE_F64); 170 rans->n = rans->nalloc; 169 171 psStats *stats = psStatsAlloc(PS_STAT_SAMPLE_MEAN); 170 172 … … 214 216 psRandom *myRNG = NULL; 215 217 psVector *rans = psVectorAlloc(NUM_DATA, PS_TYPE_F64); 218 rans->n = rans->nalloc; 216 219 psStats *stats = psStatsAlloc(PS_STAT_SAMPLE_MEAN); 217 220 … … 259 262 psRandom *myRNG = NULL; 260 263 psVector *rans00 = psVectorAlloc(NUM_DATA, PS_TYPE_F64); 264 rans00->n = rans00->nalloc; 261 265 psVector *rans01 = psVectorAlloc(NUM_DATA, PS_TYPE_F64); 266 rans01->n = rans01->nalloc; 262 267 psVector *rans02 = psVectorAlloc(NUM_DATA, PS_TYPE_F64); 268 rans02->n = rans02->nalloc; 263 269 264 270 myRNG = psRandomAlloc(PS_RANDOM_TAUS, SEED); … … 314 320 psRandom *myRNG = NULL; 315 321 psVector *rans00 = psVectorAlloc(NUM_DATA, PS_TYPE_F64); 322 rans00->n = rans00->nalloc; 316 323 psVector *rans01 = psVectorAlloc(NUM_DATA, PS_TYPE_F64); 324 rans01->n = rans01->nalloc; 317 325 psVector *rans02 = psVectorAlloc(NUM_DATA, PS_TYPE_F64); 326 rans02->n = rans02->nalloc; 318 327 319 328 myRNG = psRandomAlloc(PS_RANDOM_TAUS, SEED); … … 357 366 psRandom *myRNG = NULL; 358 367 psVector *rans00 = psVectorAlloc(NUM_DATA, PS_TYPE_F64); 368 rans00->n = rans00->nalloc; 359 369 psVector *rans01 = psVectorAlloc(NUM_DATA, PS_TYPE_F64); 370 rans01->n = rans01->nalloc; 360 371 psVector *rans02 = psVectorAlloc(NUM_DATA, PS_TYPE_F64); 372 rans02->n = rans02->nalloc; 361 373 362 374 myRNG = psRandomAlloc(PS_RANDOM_TAUS, SEED);
Note:
See TracChangeset
for help on using the changeset viewer.
