Browse Source

node - model compare must be correct

pre-master-46
dwarning 17 years ago
parent
commit
30e9bd952c
  1. 2
      src/spicelib/parser/inpgmod.c

2
src/spicelib/parser/inpgmod.c

@ -248,7 +248,7 @@ char *INPgetMod(void *ckt, char *name, INPmodel ** model, INPtables * tab)
printf("In INPgetMod, comparing %s against stored model %s . . . \n", name, (modtmp)->INPmodName);
#endif
if (strstr((modtmp)->INPmodName, name) != NULL) {
if (strcmp((modtmp)->INPmodName, name) == 0) {
/* found the model in question - now instantiate if necessary */
/* and return an appropriate pointer to it */

Loading…
Cancel
Save