- Debugging amor problem

This commit is contained in:
cvs
2003-01-09 07:58:19 +00:00
parent c944355198
commit bbc0b64c43
4 changed files with 15 additions and 5 deletions

View File

@@ -588,6 +588,7 @@
int iMax = -999999;
const float *timebin;
HistInt *iData = NULL;
int iStart;
/* get size of our problem */
GetHistDim(self->pHM,iDim,&i3);
@@ -610,11 +611,12 @@
if(isSINQHMDriv(self->pHM->pDriv))
{
GetHistogramDirect(self->pHM,pCon,0,iDim[0]*iDim[1]*iDim[2],
2*iDim[2],&iData[1],2*iDim[2]*sizeof(HistInt));
iStart = iDim[0]*iDim[1]*iDim[2];
GetHistogramDirect(self->pHM,pCon,0,iStart,
iStart + 2*iDim[2],&iData[1],2*iDim[2]*sizeof(HistInt));
for(i = 1; i < length; i++)
{
iData[i] = htonl(iData[i]);
iData[i] = htonl(iData[i]);
}
}
else