Merge branch 'master' into netgen-1.5

This commit is contained in:
Tim Edwards 2024-05-15 02:00:01 -04:00
commit 5197eb6186
2 changed files with 2 additions and 3 deletions

View File

@ -1 +1 @@
1.5.274
1.5.275

View File

@ -1595,8 +1595,7 @@ _netgen_model(ClientData clientData,
return result;
if (objc == 3) {
model = Tcl_GetString(objv[2]);
nports = NumberOfPorts(model, fnum);
nports = NumberOfPorts(tp->name, fnum);
if (Tcl_GetIndexFromObj(interp, objv[2], (CONST84 char **)modelclasses,
"class", 0, &index) != TCL_OK) {