Changeset 2090


Ignore:
Timestamp:
Oct 21, 2009, 11:53:33 PM (12 years ago)
Author:
Peter
Message:

initialize base class explicitely in copy constructor. doesn't really matter here but is just a matter of style.

File:
1 edited

Legend:

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

    r1797 r2090  
    189189
    190190  DiscreteGeneral::DiscreteGeneral(const DiscreteGeneral& other)
    191     : gen_(NULL), p_(other.p_)
     191    : Discrete(other), gen_(NULL), p_(other.p_)
    192192  {
    193193    preproc();
Note: See TracChangeset for help on using the changeset viewer.