Changeset 25 for trunk/orca/math.c

Show
Ignore:
Timestamp:
02/06/06 23:30:15 (3 years ago)
Author:
krobillard
Message:

series which/index renamed to n/it.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/math.c

    r1 r25  
    138138                { 
    139139                    rn = genrand_int32(); 
    140                     used -= a1->series.index; 
    141                     a1->series.index += rn % used; 
     140                    used -= a1->series.it; 
     141                    a1->series.it += rn % used; 
    142142                    return; 
    143143                } 
     
    280280        case OT_BITSET: 
    281281        { 
    282             OString* bin = orCopyString( a1->index, a1->series.index ); 
     282            OString* bin = orCopyString( a1->index, a1->series.it ); 
    283283            uint8_t* it  = bin->byteArray; 
    284284            uint8_t* end = bin->byteArray + bin->used;