Diode code problem solved
Hi all,
At least I have discovered the problem hidden into the dioload.c code.
There was a fix introduced over the original code that was nonfuctional.
It is the same problem once happened with the pz analysis. A couple of
braces around an if caused a portion of the code to be skipped.
Now the error and the fix:
dioload.c: (error)
if( ((ckt->CKTmode & (MODETRAN | MODEAC | MODEINITSMSIG)) ||
(ckt->CKTmode & MODETRANOP)) && (ckt->CKTmode & MODEUIC)
) {
/*
* charge storage elements
*/
dioload.c: (correct)
if( (ckt->CKTmode & (MODETRAN | MODEAC | MODEINITSMSIG)) ||
(ckt->CKTmode & MODETRANOP) && (ckt->CKTmode &
MODEUIC) ) {
/*
* charge storage elements
*/
Bye,
Paolo
Partial thread listing:
- Diode code problem solved, (continued)