remove bug 388: enable plot unit W for plotting @q1[p]
This commit is contained in:
parent
5fe1dca57a
commit
91e40f1ecb
|
|
@ -905,7 +905,7 @@ guess_type(const char *name)
|
|||
type = SV_TEMP;
|
||||
else if (cieq(name, "res-sweep"))
|
||||
type = SV_RES;
|
||||
else if ((*name == '@') && substring("[g", name))
|
||||
else if ((*name == '@') && substring("[g", name)) /* token starting with [g */
|
||||
type = SV_ADMITTANCE;
|
||||
else if ((*name == '@') && substring("[c", name))
|
||||
type = SV_CAPACITANCE;
|
||||
|
|
@ -913,6 +913,8 @@ guess_type(const char *name)
|
|||
type = SV_CURRENT;
|
||||
else if ((*name == '@') && substring("[q", name))
|
||||
type = SV_CHARGE;
|
||||
else if ((*name == '@') && substring("[p]", name)) /* token is exactly [p] */
|
||||
type = SV_POWER;
|
||||
else
|
||||
type = SV_VOLTAGE;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue