Commit fd78c1fe authored by Lynn Garren's avatar Lynn Garren
Browse files

initialize all parts of NonRandomEngine state since uninitialized and unused

variables caused confusion on Windows
parent a209df7b
// $Id: NonRandomEngine.cc,v 1.4.2.2 2004/12/28 16:11:34 fischler Exp $ // $Id: NonRandomEngine.cc,v 1.4.2.3 2005/03/11 23:24:36 garren Exp $
// -*- C++ -*- // -*- C++ -*-
// //
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
...@@ -26,7 +26,10 @@ std::string NonRandomEngine::name() const {return "NonRandomEngine";} ...@@ -26,7 +26,10 @@ std::string NonRandomEngine::name() const {return "NonRandomEngine";}
NonRandomEngine::NonRandomEngine() : nextHasBeenSet(false), NonRandomEngine::NonRandomEngine() : nextHasBeenSet(false),
sequenceHasBeenSet(false), sequenceHasBeenSet(false),
intervalHasBeenSet(false) { } intervalHasBeenSet(false) ,
nextRandom(0.05),
nInSeq(0),
randomInterval(0.1) { }
NonRandomEngine::~NonRandomEngine() { } NonRandomEngine::~NonRandomEngine() { }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment