Browse Source

Fixes bugs 476, 486: Reset code model init flag,

required when any run is called a second time.
pre-master-46
Holger Vogt 6 years ago
parent
commit
b356b00014
  1. 3
      src/xspice/evt/evtsetup.c

3
src/xspice/evt/evtsetup.c

@ -531,6 +531,9 @@ static int EVTsetup_load_ptrs(
/* Get the MIFinstance pointer */ /* Get the MIFinstance pointer */
fast = ckt->evt->info.inst_table[i]->inst_ptr; fast = ckt->evt->info.inst_table[i]->inst_ptr;
/* Reset init flag, required when any run is called a second time */
fast->initialized = FALSE;
/* Loop through all connections */ /* Loop through all connections */
num_conn = fast->num_conn; num_conn = fast->num_conn;
for(j = 0; j < num_conn; j++) { for(j = 0; j < num_conn; j++) {

Loading…
Cancel
Save