Copyright © 2007-2024 The OpenMx Project
There are some odd lines of code that I would like to see better inline comments explaining what is going on. In npsol.c around lines 330 I see "// For memory allocation purposes, nlinwid > 0" and then again for nlnwid. I don't understand why nlinwid and nlnwid are assigned to 1 for non-positive values of nclin and ncnln. Also, a little further down on line 373, there's the line: for(; k < n+nclin; k++). Is this the correct thing to do if nclin is negative?