Changeset 341 for trunk/thune/math.c
- Timestamp:
- 01/07/07 16:56:56 (2 years ago)
- Files:
-
- 1 modified
-
trunk/thune/math.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/math.c
r336 r341 541 541 else if( ur_is(tos, UT_INT) ) 542 542 { 543 ur_int(tos) = (genrand_int32() % ur_int(tos)) + 1; 543 if( ur_int(tos) > 0 ) 544 ur_int(tos) = (genrand_int32() % ur_int(tos)) + 1; 544 545 } 545 546 else if( ur_isASeries( tos ) )
