In case the parameters are not an array of numbers, they get concatenated into a matrix, and then indexing returns an 1x1 matrix rather than the type of the parameters. I think this went unnoticed because it only worked for NullParameters and nobody actually looks at the NullParameters to see they are not an array.
In case the parameters are not an array of numbers, they get concatenated into a matrix, and then indexing returns an 1x1 matrix rather than the type of the parameters. I think this went unnoticed because it only worked for NullParameters and nobody actually looks at the NullParameters to see they are not an array.
What was happening, vs what's happening now:
fixes #248