diff --git a/dlib/test/matrix.cpp b/dlib/test/matrix.cpp index a3cd0ff30..8bf96f8de 100644 --- a/dlib/test/matrix.cpp +++ b/dlib/test/matrix.cpp @@ -1820,6 +1820,11 @@ namespace } + { + DLIB_CASSERT(( uniform_matrix(303,303, 3)*identity_matrix(303) == uniform_matrix(3) ) , ""); + DLIB_CASSERT(( uniform_matrix(3)*identity_matrix() == uniform_matrix(3) ), ""); + } + }