Fixed issue #569
"matop function 'diag()' does not accept matrices as inputs"
Authored by: numere 2021-04-18
Parent: [r854]
Child: [r856]