diff --git a/src/moab/MStats.c b/src/moab/MStats.c index 71dcddd..7b9c5e4 100644 --- a/src/moab/MStats.c +++ b/src/moab/MStats.c @@ -922,7 +922,7 @@ int MStatUpdateActiveJobUsage( (double)MSched.Interval / 100.0, (double)MSched.Time - J->StartTime); - if ((RQ->NAccessPolicy == mnacSingleJob) && + if ((J->Req[0]->NAccessPolicy == mnacSingleJob) && (MSched.NodeAllocMaxPS == TRUE)) { pesdedicated = TotalProcs * interval;