Browse Source

Add a comment

pre-master-46
Holger Vogt 1 year ago
parent
commit
20d6fb460f
  1. 5
      src/frontend/outitf.c

5
src/frontend/outitf.c

@ -969,6 +969,9 @@ guess_type(const char *name, char* pltypename)
type = SV_RES;
else if (cieq(name, "i-sweep"))
type = SV_CURRENT;
else if (strstr(name, ":power\0"))
type = SV_POWER;
/* Special treatment if plot has been generated by S-parameter simulation */
else if (pltypename && ciprefix("sp", pltypename) && ciprefix("S_", name))
type = SV_SPARAM;
else if (pltypename && ciprefix("sp", pltypename) && ciprefix("Y_", name))
@ -985,8 +988,6 @@ guess_type(const char *name, char* pltypename)
type = SV_NOTYPE;
else if (pltypename && ciprefix("sp", pltypename) && ciprefix("Cy_", name))
type = SV_CURRENT;
else if (strstr(name, ":power\0"))
type = SV_POWER;
/* current source ISRC parameters for current */
else if (substring("@i", name) && (substring("[c]", name) || substring("[dc]", name) || substring("[current]", name)))
type = SV_CURRENT;

Loading…
Cancel
Save