From e02cc1aac5abbac78a159f5642f6e54063451008 Mon Sep 17 00:00:00 2001 From: wightman Date: Tue, 21 Nov 2006 14:50:52 +0000 Subject: [PATCH] fix git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@76 3f5042e3-fb1d-0410-be18-d6ca2573e517 --- src/moab/MStats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;