In the local function snfun in snsolve, the gradient outputs of the fmincon function handles were concatenated in a wrong way. I therefore renamed some variables to make the differences more explicit and fixed the concatenation bug. As this is my first pull-request ever, please have mercy on me if this is not the appropriate way to do this.
In the local function snfun in snsolve, the gradient outputs of the fmincon function handles were concatenated in a wrong way. I therefore renamed some variables to make the differences more explicit and fixed the concatenation bug. As this is my first pull-request ever, please have mercy on me if this is not the appropriate way to do this.