add a comment

This commit is contained in:
Holger Vogt 2023-08-14 23:40:48 +02:00
parent 313a0cdf66
commit 2275fb85da
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ CKTsetBreak(CKTcircuit *ckt, double time)
printf("[t:%e] \t want breakpoint for t = %e\n", ckt->CKTtime, time);
#endif
/* If time equals ckt->CKTtime, but differences due to
limtations of double precision exist */
if (AlmostEqualUlps(time, ckt->CKTtime, 3)) {
#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);