Revision f857128b src/sim/casyncmodule.cc

View differences:

src/sim/casyncmodule.cc
68 68

  
69 69
cAsyncModule::~cAsyncModule()
70 70
{
71
  delete numGen;
71

  
72 72
}
73 73

  
74 74
void cAsyncModule::initLocalRNGs()
......
135 135
    //
136 136
    // generate the required number of RNGs with the corresponding seeds
137 137
    //
138
    numGen = new cNumberGenerator(nrNumGens,seeds);
138
    setupSeeds(nrNumGens,seeds);
139 139
    delete[] seeds;
140 140

  
141 141
}

Also available in: Unified diff