Browse Source

call to CKTtemp only for CKTtime>0

pre-master-46
h_vogt 15 years ago
parent
commit
7903411b68
  1. 1
      ChangeLog
  2. 8
      src/frontend/spiceif.c

1
ChangeLog

@ -1,5 +1,6 @@
11-01-02 Holger Vogt 11-01-02 Holger Vogt
* spiceif.c: recall yesterday's change due to errors, if reset was given before * spiceif.c: recall yesterday's change due to errors, if reset was given before
install again, but only for CKTtime > 0
11-01-01 Holger Vogt 11-01-01 Holger Vogt
* breakp.c: update to multiple conditionals with '=' in stop command * breakp.c: update to multiple conditionals with '=' in stop command

8
src/frontend/spiceif.c

@ -931,12 +931,12 @@ if_setparam(CKTcircuit *ckt, char **name, char *param, struct dvec *val, int do_
/* Call to CKTtemp(ckt) will be invoked here only by 'altermod' commands, /* Call to CKTtemp(ckt) will be invoked here only by 'altermod' commands,
to set internal model parameters pParam of each instance for immediate use, to set internal model parameters pParam of each instance for immediate use,
otherwise e.g. model->BSIM3vth0 will be set,
but not pParam of any BSIM3 instance.
otherwise e.g. model->BSIM3vth0 will be set, but not pParam of any BSIM3 instance.
Call only if CKTtime > 0 to avoid conflict with previous 'reset' command.
May contain side effects because call is abundant. h_vogt 110101 May contain side effects because call is abundant. h_vogt 110101
*/ */
// if (do_model)
// CKTtemp(ckt);
if ((do_model) && (ckt->CKTtime > 0))
CKTtemp(ckt);
} }
static struct variable * static struct variable *

Loading…
Cancel
Save