From e208aab4cd95112b4b72a08058caaa75270f640a Mon Sep 17 00:00:00 2001 From: Jim Monte Date: Sat, 15 Jun 2019 00:09:33 +0200 Subject: [PATCH] [PATCH #69] Changed vector type from to the enum assigned to it. --- src/include/ngspice/dvec.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/ngspice/dvec.h b/src/include/ngspice/dvec.h index 7c040c7f4..e24aa066f 100644 --- a/src/include/ngspice/dvec.h +++ b/src/include/ngspice/dvec.h @@ -3,6 +3,7 @@ #include "ngspice/complex.h" #include "ngspice/grid.h" +#include "ngspice/sim.h" /* Dvec flags. */ @@ -36,7 +37,7 @@ typedef enum { struct dvec { char *v_name; /* Same as so_vname. */ - int v_type; /* Same as so_vtype. */ + enum simulation_types v_type; /* Same as so_vtype. */ short v_flags; /* Flags (a combination of VF_*). */ double *v_realdata; /* Real data. */ ngcomplex_t *v_compdata; /* Complex data. */