Commit 282ab173 authored by Lynn Garren's avatar Lynn Garren
Browse files

fix a shadow problem found by the intel compiler

parent e52ef530
......@@ -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* pstatus = getPStatus();
sq = pstatus[0];
alxm = pstatus[1];
g1 = pstatus[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* pstatus = getPStatus();
sq = pstatus[0];
alxm = pstatus[1];
g1 = pstatus[2];
if( xm == -1 ) return 0;
if( xm < 12.0 ) {
......
Markdown is supported
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