Ignore:
Timestamp:
Aug 3, 2005, 6:09:44 PM (17 years ago)
Author:
Peter
Message:

cleaned up in random_singleton

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/gslapi/utility.cc

    r301 r358  
    3434    vector vec(invec);
    3535    utility::random_singleton*
    36       rnd=utility::random_singleton::get_instance();
     36      rnd=utility::random_singleton::instance();
    3737    for (size_t i=0; i<vec.size(); i++){
    38       size_t index = rnd->get_uniform_int(vec.size()-i);
     38      size_t index = rnd->uniform_int(vec.size()-i);
    3939      invec[i]=vec(index);
    4040      vec(index)=vec(vec.size()-i-1);
Note: See TracChangeset for help on using the changeset viewer.