- A few fixes to the hsitogram memory codes
- Many fixes for the triple axis code
This commit is contained in:
5
nxamor.c
5
nxamor.c
@@ -354,10 +354,13 @@ static int WriteTOFDetector(char *name, pHistMem pHM, int *iDim,
|
||||
NXhandle hfil, NXdict hdict,
|
||||
SConnection *pCon)
|
||||
{
|
||||
int iLength, nChunk, chunkSize, iChunk[3], i, iStart[3];
|
||||
int iLength, nChunk, chunkSize, iChunk[3], i, iStart[3], nTime;
|
||||
HistInt *lData = NULL;
|
||||
char pBueffel[132];
|
||||
const float *fTime;
|
||||
|
||||
fTime = GetHistTimeBin(pHM,&nTime);
|
||||
iDim[2] = nTime;
|
||||
iLength = iDim[0]*iDim[1]*iDim[2];
|
||||
if( (iLength*4) < TOFBLOCK)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user