Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CLHEP
CLHEP
Commits
3d4ea4d1
Commit
3d4ea4d1
authored
Nov 02, 2015
by
Lynn Garren
Browse files
fix from Gabriele
parent
694e3f8f
Changes
1
Show whitespace changes
Inline
Side-by-side
Random/src/MixMaxRng.cc
View file @
3d4ea4d1
...
...
@@ -155,10 +155,9 @@ void MixMaxRng::setSeeds(const long* Seeds, int seedNum)
{
unsigned
long
seed0
,
seed1
=
0
,
seed2
=
0
,
seed3
=
0
;
if
(
seedNum
<
1
)
{
std
::
cerr
<<
"MixMaxRng:setSeeds - ERROR: no seeds provided: seedNum= "
<<
seedNum
<<
std
::
endl
;
return
;
if
(
seedNum
<
1
)
{
// Assuming at least 2 seeds in vector...
seed0
=
static_cast
<
unsigned
long
>
(
Seeds
[
0
])
&
MASK32
;
seed1
=
static_cast
<
unsigned
long
>
(
Seeds
[
1
])
&
MASK32
;
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment