diff --git a/MAC/APL/MainCU/src/MACScheduler/ObsClaimer.cc b/MAC/APL/MainCU/src/MACScheduler/ObsClaimer.cc index b9a5507f1c141a8cc98408a32b8e6bd64cdc53f4..c826403bc11165a7cf8b0eadac5bf5ab9c7c37c5 100644 --- a/MAC/APL/MainCU/src/MACScheduler/ObsClaimer.cc +++ b/MAC/APL/MainCU/src/MACScheduler/ObsClaimer.cc @@ -265,7 +265,7 @@ GCFEvent::TResult ObsClaimer::preparePVSS_state (GCFEvent& event, GCFPortInterfa writeVector(os1, theObs.beams[i].subbands); subbandArr.push_back (new GCFPVString(os1.str())); stringstream os2; - writeVector(os2, theObs.beams[i].beamlets); + writeVector(os2, theObs.getBeamlets(i)); beamletArr.push_back (new GCFPVString(os2.str())); angle1Arr.push_back (new GCFPVDouble(theObs.beams[i].pointings[0].angle1)); angle2Arr.push_back (new GCFPVDouble(theObs.beams[i].pointings[0].angle2));