I tried to use the mlmts function dis_var_1 and saw that the error was that we set matrices to be NULL when p or q was zero. This caused an error when passing them to the C++ function as it only accepted a matrix and not NULL. It now creates empty matrices when this happens, remedying the problem.
I tried to use the
mlmts
functiondis_var_1
and saw that the error was that we set matrices to be NULL whenp
orq
was zero. This caused an error when passing them to the C++ function as it only accepted a matrix and not NULL. It now creates empty matrices when this happens, remedying the problem.