From 7457a2684bb52b19278e6ea7b102adee38e495eb Mon Sep 17 00:00:00 2001 From: Giles Atkinson <“gatk555@gmail.com”> Date: Tue, 21 Feb 2023 15:35:35 +0000 Subject: [PATCH] Revert "Fixes bug #331" This reverts commit 6d9876229cf0e9e17a436f352345acb95ebff3ca, because it was found to break examples/xspice/various/xspice_c3.cir (see discussion in bug report for February 2023) and an alternative fix is available. --- src/xspice/evt/evtbackup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xspice/evt/evtbackup.c b/src/xspice/evt/evtbackup.c index 1055deced..dc4432a43 100644 --- a/src/xspice/evt/evtbackup.c +++ b/src/xspice/evt/evtbackup.c @@ -577,7 +577,7 @@ static void EVTbackup_output_queue( output = *output_ptr; while(output) { - if (output->posted_time < new_time) + if(output->event_time > new_time) break; output_ptr = &((*output_ptr)->next); output = *output_ptr;