- DMC McStas simulation working
SKIPPED: psi/amorstat.c psi/nxamor.c psi/pimotor.c psi/polterwrite.c
This commit is contained in:
@ -295,6 +295,7 @@
|
||||
if(!self->iInit)
|
||||
{
|
||||
SCWrite(pCon,"ERROR: histogram memory not initialised",eError);
|
||||
InvokeCallBack(self->pCall,COUNTEND,NULL);
|
||||
return COTERM;
|
||||
}
|
||||
|
||||
@ -309,6 +310,7 @@
|
||||
{
|
||||
SCWrite(pCon,"ERROR: failed to fix histogram memory problem",eError);
|
||||
SCSetInterrupt(pCon,eAbortBatch);
|
||||
InvokeCallBack(self->pCall,COUNTEND,NULL);
|
||||
return eCt;
|
||||
}
|
||||
else
|
||||
@ -325,7 +327,8 @@
|
||||
/* force an update of local histogram data with next
|
||||
GetHistogram
|
||||
*/
|
||||
updateHMData(self->pDriv->data);
|
||||
updateHMData(self->pDriv->data);
|
||||
InvokeCallBack(self->pCall,COUNTEND,NULL);
|
||||
}
|
||||
|
||||
return eCt;
|
||||
@ -760,8 +763,6 @@ void HistDirty(pHistMem self)
|
||||
iRet = 1;
|
||||
}
|
||||
|
||||
/* whatever happened, send a COUNTEND event */
|
||||
InvokeCallBack(self->pCall,COUNTEND,NULL);
|
||||
|
||||
return iRet;
|
||||
|
||||
|
Reference in New Issue
Block a user