add a comment
This commit is contained in:
parent
313a0cdf66
commit
2275fb85da
|
|
@ -27,6 +27,8 @@ CKTsetBreak(CKTcircuit *ckt, double time)
|
||||||
printf("[t:%e] \t want breakpoint for t = %e\n", ckt->CKTtime, time);
|
printf("[t:%e] \t want breakpoint for t = %e\n", ckt->CKTtime, time);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* If time equals ckt->CKTtime, but differences due to
|
||||||
|
limtations of double precision exist */
|
||||||
if (AlmostEqualUlps(time, ckt->CKTtime, 3)) {
|
if (AlmostEqualUlps(time, ckt->CKTtime, 3)) {
|
||||||
#ifdef TRACE_BREAKPOINT // #if (1)
|
#ifdef TRACE_BREAKPOINT // #if (1)
|
||||||
fprintf(stderr, "Warning: Setting a new breakpoint at %e is ignored,\n as current time is %e\n", time, ckt->CKTtime);
|
fprintf(stderr, "Warning: Setting a new breakpoint at %e is ignored,\n as current time is %e\n", time, ckt->CKTtime);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue