Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CLHEP
CLHEP
Commits
282ab173
Commit
282ab173
authored
Jun 21, 2016
by
Lynn Garren
Browse files
fix a shadow problem found by the intel compiler
parent
e52ef530
Changes
1
Hide whitespace changes
Inline
Side-by-side
Random/src/RandPoisson.cc
View file @
282ab173
...
...
@@ -101,10 +101,10 @@ long RandPoisson::shoot(double xm) {
double
om
=
getOldMean
();
HepRandomEngine
*
anEngine
=
HepRandom
::
getTheEngine
();
double
*
status
=
getPStatus
();
sq
=
status
[
0
];
alxm
=
status
[
1
];
g1
=
status
[
2
];
double
*
p
status
=
getPStatus
();
sq
=
p
status
[
0
];
alxm
=
p
status
[
1
];
g1
=
p
status
[
2
];
if
(
xm
==
-
1
)
return
0
;
if
(
xm
<
12.0
)
{
...
...
@@ -161,10 +161,10 @@ long RandPoisson::shoot(HepRandomEngine* anEngine, double xm) {
double
sq
,
alxm
,
g1
;
double
om
=
getOldMean
();
double
*
status
=
getPStatus
();
sq
=
status
[
0
];
alxm
=
status
[
1
];
g1
=
status
[
2
];
double
*
p
status
=
getPStatus
();
sq
=
p
status
[
0
];
alxm
=
p
status
[
1
];
g1
=
p
status
[
2
];
if
(
xm
==
-
1
)
return
0
;
if
(
xm
<
12.0
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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