dmm: only reset params if there is a param on the rhs of the assigned matrix