use `enum simulation_types'

This commit is contained in:
rlar 2015-03-10 21:33:36 +01:00
parent d98c5c90f3
commit 62d2f5d5f4
1 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ Author: 1986 Wayne A. Christopher, U. C. Berkeley CAD Group
#include "ngspice/cpdefs.h"
#include "ngspice/ftedefs.h"
#include "ngspice/dvec.h"
#include "ngspice/sim.h"
#include "typesdef.h"
@ -194,7 +195,7 @@ ft_typnum(char *name)
if (cieq(name, types[i].t_name))
return (i);
return (0);
return (SV_NOTYPE);
}