- Fixed a singlex death when there was no lambda. Was a problem during
shutdown when nothing works as it should - Made an attempt to have all error message printed on demand - Added a tricsswap feature to sinqhttp which swaps the data right for SICS - Edited speed for phytron driver - First attack on adding a misalignment calculation to tasub - Added a test protocol for scriptcontext which can be configured. SKIPPED: psi/sinqhttp.c
This commit is contained in:
16
singlex.c
16
singlex.c
@@ -732,7 +732,11 @@ const double *SXGetUB()
|
||||
{
|
||||
hdbValue v;
|
||||
pHdb node = NULL;
|
||||
pSingleX priv = (pSingleX) singlex->pPrivate;
|
||||
pSingleX priv ;
|
||||
|
||||
assert(singlex != NULL);
|
||||
|
||||
priv= (pSingleX) singlex->pPrivate;
|
||||
|
||||
node = GetHipadabaNode(singlex->objectNode, "ub");
|
||||
assert(node != NULL);
|
||||
@@ -833,9 +837,15 @@ double SXGetLambda()
|
||||
return val;
|
||||
}
|
||||
node = GetHipadabaNode(singlex->objectNode, "lambda");
|
||||
assert(node != NULL);
|
||||
/* assert(node != NULL);
|
||||
GetHipadabaPar(node, &v, pServ->dummyCon);
|
||||
return v.v.doubleValue;
|
||||
*/
|
||||
if(node != NULL){
|
||||
GetHipadabaPar(node, &v, pServ->dummyCon);
|
||||
return v.v.doubleValue;
|
||||
} else {
|
||||
return 7.7;
|
||||
}
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user