Rigbox
Rigbox copied to clipboard
Unexpected repelems behaviour
The function repelems currently outputs unexpected values for matrices and when the size of the second input doesn't match the first. It seems it was designed for use by exp.Parameters/toConditionServer which just replicates the elements of a none-scalar struct. This function could be updated to work in a more intuitive way for matrices or at least throw warnings. At the moment it outputs something no matter what your input arrays are, which is perhaps dangerous...