bug fix, broken insert at the front of CKTbreaks[]
This commit is contained in:
parent
e86527635b
commit
70b7ef1bc1
|
|
@ -1,3 +1,7 @@
|
|||
2011-08-04 Robert Larice
|
||||
* src/spicelib/analysis/cktsetbk.c :
|
||||
bug fix, broken insert at the front of CKTbreaks[]
|
||||
|
||||
2011-08-03 Holger Vogt
|
||||
* ivars.c update for LINUX
|
||||
* tclspice.c, nghelp.c, spiced.c: ivars(NULL)
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ CKTsetBreak(CKTcircuit *ckt, double time)
|
|||
*(ckt->CKTbreaks+i) = time;
|
||||
return(OK);
|
||||
}
|
||||
if(time-*(ckt->CKTbreaks+i-1) <= ckt->CKTminBreak) {
|
||||
if(i>0 && time-*(ckt->CKTbreaks+i-1) <= ckt->CKTminBreak) {
|
||||
/* very close together, but after, so skip */
|
||||
#ifdef TRACE_BREAKPOINT
|
||||
printf("[t:%e] \t %e skipped\n", ckt->CKTtime, time);
|
||||
|
|
|
|||
Loading…
Reference in New Issue