COIN-OR::LEMON - Graph Library

Changeset 2608:207efbaea269 in lemon-0.x


Ignore:
Timestamp:
04/19/08 15:04:51 (12 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Tags:
lemon-0.7
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3491
Message:

Avoid warning in random.h (backport of chgset 4790635473ef from lemon-1.0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/random.h

    r2599 r2608  
    257257          --curr;
    258258        }
    259         curr[0] = (((curr[0] & hiMask) | (curr[length - 1] & loMask)) >> 1) ^
     259        state[0] = (((state[0] & hiMask) | (curr[length - 1] & loMask)) >> 1) ^
    260260          curr[length - shift] ^ mask[int(curr[length - 1] & 1ul)];
    261261
Note: See TracChangeset for help on using the changeset viewer.