- Scriptcontext debugged to be working
- Added a drivable adapter to scriptcontext nodes - Added subsampling to simulated histograms (and as a general option) in order to support Gumtree testing.
This commit is contained in:
@ -834,7 +834,7 @@ void HistDirty(pHistMem self)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if(iEnd > iDataLen/sizeof(HistInt))
|
||||
if( (iEnd -iStart) > iDataLen/sizeof(HistInt))
|
||||
{
|
||||
SCWrite(pCon,"WARNING: truncating request to fit data space",eWarning);
|
||||
iEnd = (iDataLen/sizeof(HistInt)) - 1;
|
||||
@ -1138,7 +1138,7 @@ static int checkHMEnd(pHistMem self, char *text){
|
||||
return 0;
|
||||
}
|
||||
memset(pBuf,0,iRet+60);
|
||||
HistGetOption(self,argv[2],pBuf,iRet);
|
||||
HistGetOption(self,argv[2],pBuf,iRet+60);
|
||||
sprintf(pBueffel,"%s.%s = %s",argv[0],argv[2],pBuf);
|
||||
SCWrite(pCon,pBueffel,eValue);
|
||||
free(pBuf);
|
||||
|
Reference in New Issue
Block a user