mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 13:57:32 +02:00
Fixes a bug introduced by commit [4895a4]
Re-enables R with .model like .model R_NOISELESS RES (TCE=0 T_ABS=-273.15) R77 1 0 R_NOISELESS 100
This commit is contained in:
@@ -4276,6 +4276,8 @@ int get_number_terminals(char *c)
|
|||||||
case 'b':
|
case 'b':
|
||||||
case 'v':
|
case 'v':
|
||||||
case 'i':
|
case 'i':
|
||||||
|
return 2;
|
||||||
|
break;
|
||||||
case 'd':
|
case 'd':
|
||||||
i = 0;
|
i = 0;
|
||||||
/* find the first token with "off" or "=" in the line*/
|
/* find the first token with "off" or "=" in the line*/
|
||||||
|
|||||||
Reference in New Issue
Block a user