Ignore:
Timestamp:
Mar 27, 2020, 10:43:48 AM (3 years ago)
Author:
Peter
Message:

merge latest revision from stable-0.17 branch into trunk

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/yat/random/random.h

    r3591 r3893  
    66/*
    77  Copyright (C) 2005, 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
    8   Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 Peter Johansson
     8  Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2020 Peter Johansson
    99
    1010  This file is part of the yat library, http://dev.thep.lu.se/yat
     
    407407     Variance: \f$ \frac{1}{12}(n-1)(n+1) \f$
    408408  */
    409   class DiscreteUniform
    410     : public Discrete,
    411       public std::unary_function<unsigned long, unsigned long>
    412   {
    413   public:
     409  class DiscreteUniform : public Discrete
     410  {
     411  public:
     412    /// argument type is unsigned long int
     413    typedef unsigned long argument_type;
     414
    414415    /**
    415416       \brief Constructor.
Note: See TracChangeset for help on using the changeset viewer.