- Fixed sign problems with om in tasub

- Mended tasdrive to drive energy even if Q is askew
- Fixed QM values
- Fixed problems in mesure: om2th, wrong theta selection
- Fixed core dump when driving h,kl, failed
This commit is contained in:
koennecke
2005-06-09 12:04:38 +00:00
parent f33ca7b0d7
commit 3a0b4f293c
16 changed files with 1899 additions and 116 deletions

View File

@ -129,7 +129,7 @@ static pDynString findBlockEnd(pExeBuf self){
return NULL;
}
buffer = GetCharArray(self->bufferContent);
if(self->end != 0){
if(self->end != -1){
self->start = self->end + 1;
}
for(i = self->start; i < strlen(buffer); i++){
@ -162,7 +162,7 @@ int exeBufProcess(pExeBuf self, SicsInterp *pSics,
assert(pSics);
self->start = 0;
self->end = 0;
self->end = -1;
self->lineno = 0;
pTcl = InterpGetTcl(pSics);