- Fixed sicsprompt bug. Sicsprompt caused a core dump
- Removed generation of incommenurate reflections for 0,0,0 in fourmess.c - Implemented a Poch command for heartbeats - Fixed 64 bit dimension issues in nxdict - Fixed different calling conventions for NXReportError deep stack in nxdict - Stopped ei motor driving when not necessary - Added yet another monitor for POLDI - Added a protocoll driver for the JVL motor RS-485 binary protocoll - Fixed some reporting issues SKIPPED: psi/jvlprot.c psi/make_gen psi/polterwrite.c psi/psi.c psi/spss7.c
This commit is contained in:
@ -40,6 +40,7 @@ extern char *trim(char *);
|
||||
|
||||
extern void SNXFormatTime(char *pBueffel, int iLen);
|
||||
|
||||
#define ABS(x) (x < 0 ? -(x) : (x))
|
||||
/*---------------------------------------------------------------------------*/
|
||||
typedef struct {
|
||||
FILE *profFile; /* file with reflection profiles, ccl */
|
||||
@ -765,7 +766,13 @@ static int GenInconsumerate(pSICSOBJ self, SConnection * pCon,
|
||||
qvec[2] = par[2]->value.v.doubleValue;
|
||||
|
||||
for (i = 0; i < priv->masterCount; i++) {
|
||||
GetRefIndex(priv->messList, i, hkl);
|
||||
GetRefIndex(priv->messList, i, hkl);
|
||||
if(ABS(hkl[0])+ABS(hkl[1])+ABS(hkl[2]) < .3){
|
||||
/*
|
||||
* Stop generation for 0,0,0,
|
||||
*/
|
||||
continue;
|
||||
}
|
||||
for (j = 0; j < 3; j++) {
|
||||
hkl[j] += qvec[j];
|
||||
}
|
||||
|
Reference in New Issue
Block a user