w and l must be exact altermod parameter for MOS binning

This commit is contained in:
dwarning 2020-03-28 18:31:45 +01:00 committed by Holger Vogt
parent d3da0d5ebf
commit 3999dcc700
1 changed files with 1 additions and 1 deletions

View File

@ -1311,7 +1311,7 @@ com_alter_common(wordlist *wl, int do_model)
/* If we want alter the geometry of a MOS device
we have to ensure that we are in the valid model bin. */
if ((dev[0] == 'm') && ((param[0] == 'w') || (param[0] == 'l')))
if ((dev[0] == 'm') && (eq(param, "w") || eq(param, "l")))
if_set_binned_model(ft_curckt->ci_ckt, dev, param, dv);
if_setparam(ft_curckt->ci_ckt, &dev, param, dv, do_model);