Changeset 2142


Ignore:
Timestamp:
Jan 15, 2010, 3:28:54 AM (12 years ago)
Author:
Peter
Message:

clarify iterator type in random_shuffle. refs #489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/random/random.h

    r2119 r2142  
    603603     which is singleton.
    604604   */
    605   template<typename T>
    606   void random_shuffle(T first, T last)
     605  template<typename RandomAccessIterator>
     606  void random_shuffle(RandomAccessIterator first, RandomAccessIterator last)
    607607  {
    608608    DiscreteUniform rnd;
Note: See TracChangeset for help on using the changeset viewer.