Skip to content
Snippets Groups Projects
Commit 49947abe authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Merge remote-tracking branch 'origin/v2.5' into v2.5

parents 42faab58 c2a8323a
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,7 @@ Random::Random(const std::string & name): ...@@ -51,6 +51,7 @@ Random::Random(const std::string & name):
} }
void Random::setSeed(int idum_) { void Random::setSeed(int idum_) {
if(idum_>0) idum_=-idum_;
idum=idum_; idum=idum_;
incPrec=false; incPrec=false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment