- added makeauxub to tasub
- fixes for MARS - extended maximize to honour maxpts and the in360 flag - added regression histmem driver
This commit is contained in:
22
histmem.c
22
histmem.c
@ -68,6 +68,10 @@
|
||||
/*
|
||||
#define LOADDEBUG 1
|
||||
*/
|
||||
/*
|
||||
* from histregress.c
|
||||
*/
|
||||
extern pHistDriver CreateRegressHM(pStringDict pOpt);
|
||||
/*------------------------------------------------------------------------*/
|
||||
static int HistHalt(void *pData)
|
||||
{
|
||||
@ -452,8 +456,12 @@
|
||||
}
|
||||
else if(strcmp(driver,"mcstas") == 0)
|
||||
{
|
||||
pNew->pDriv = NewMcStasHM(pOption);
|
||||
}
|
||||
pNew->pDriv = NewMcStasHM(pOption);
|
||||
}
|
||||
else if(strcmp(driver,"regress") == 0)
|
||||
{
|
||||
pNew->pDriv = CreateRegressHM(pOption);
|
||||
}
|
||||
else
|
||||
{
|
||||
site = getSite();
|
||||
@ -1264,6 +1272,16 @@ static int checkHMEnd(pHistMem self, char *text){
|
||||
SCSendOK(pCon);
|
||||
return 1;
|
||||
}
|
||||
/* pause */
|
||||
else if(strcmp(argv[1],"pause") == 0)
|
||||
{ if(!SCMatchRights(pCon,usUser))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
self->pDriv->Pause(self->pDriv,pCon);
|
||||
SCSendOK(pCon);
|
||||
return 1;
|
||||
}
|
||||
/* normal counting*/
|
||||
else if(strcmp(argv[1],"count") == 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user