frontend/device.c, com_alter_common(), #2/11 set `v_type' and `v_flags' too
This commit is contained in:
parent
fd2329c7e9
commit
c284161949
|
|
@ -14,6 +14,7 @@ Modified: 2000 AlansFixes
|
|||
#include "ngspice/cpdefs.h"
|
||||
#include "ngspice/ftedefs.h"
|
||||
#include "ngspice/dgen.h"
|
||||
#include "ngspice/sim.h"
|
||||
|
||||
#include "circuits.h"
|
||||
#include "device.h"
|
||||
|
|
@ -1324,6 +1325,8 @@ com_alter_common(wordlist *wl, int do_model)
|
|||
if (!dv)
|
||||
return;
|
||||
dv->v_name = copy("real vector");
|
||||
dv->v_type = SV_NOTYPE;
|
||||
dv->v_flags = VF_REAL;
|
||||
type &= IF_VARTYPES;
|
||||
if (type == IF_REALVEC) {
|
||||
list = TMALLOC(double, 1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue