Show
Ignore:
Timestamp:
05/14/10 12:16:00 (14 years ago)
Author:
mido
Message:

the functionality of user info was improved, it supports an initialization of root descendant via UI::get directly, however it is save only for static attributes, for dynamically allocated attributes UI::build should be called to handle with intahrence issues

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/itpp_ext.cpp

    r869 r942  
    412412                long long tmp = (long long) (A * seed); 
    413413                tmp = tmp % M; 
    414                 seed = tmp; 
     414                seed = (double) tmp; 
    415415                counter++; 
    416416                return seed / M;