Skip to content

Commit

Permalink
remove vars length mod
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Aug 24, 2024
1 parent 4d98334 commit aba822d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions netview/netview.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,12 +449,6 @@ func (nv *NetView) NetVarsList(net emer.Network, layEven bool) (nvars, synvars [
unvars := net.UnitVarNames()
synvars = net.SynVarNames()
ulen := len(unvars)
// ncols := NVarCols // nv.Params.NVarCols
// nr := ulen % ncols
// if layEven && nr != 0 { // make it an even number
// ulen += ncols - nr
// }

tlen := ulen + 2*len(synvars)
nvars = make([]string, tlen)
copy(nvars, unvars)
Expand Down

0 comments on commit aba822d

Please sign in to comment.