- 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:
koennecke
2010-03-09 13:12:01 +00:00
parent 09cc25ec5b
commit 40ff36d142
13 changed files with 282 additions and 19 deletions

View File

@@ -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;
}
}
/*---------------------------------------------------------------------------*/