@@ -2975,10 +2975,10 @@ for (orglq, orgqr, orgql, orgrq, ormlq, ormqr, ormql, ormrq, gemqrt, elty) in
29752975 mA = size (A, 1 )
29762976 k = length (tau)
29772977 if side == ' L' && m != mA
2978- throw (DimensionMismatch (lazy " for a left-sided multiplication, the first dimension of C, $m, must equal the second dimension of A, $mA" ))
2978+ throw (DimensionMismatch (lazy " for a left-sided multiplication, the first dimension of C, $m, must equal the first dimension of A, $mA" ))
29792979 end
29802980 if side == ' R' && n != mA
2981- throw (DimensionMismatch (lazy " for a right-sided multiplication, the second dimension of C, $m , must equal the second dimension of A, $mA" ))
2981+ throw (DimensionMismatch (lazy " for a right-sided multiplication, the second dimension of C, $n , must equal the first dimension of A, $mA" ))
29822982 end
29832983 if side == ' L' && k > m
29842984 throw (DimensionMismatch (lazy " invalid number of reflectors: k = $k should be <= m = $m" ))
@@ -3025,10 +3025,10 @@ for (orglq, orgqr, orgql, orgrq, ormlq, ormqr, ormql, ormrq, gemqrt, elty) in
30253025 mA = size (A, 1 )
30263026 k = length (tau)
30273027 if side == ' L' && m != mA
3028- throw (DimensionMismatch (lazy " for a left-sided multiplication, the first dimension of C, $m, must equal the second dimension of A, $mA" ))
3028+ throw (DimensionMismatch (lazy " for a left-sided multiplication, the first dimension of C, $m, must equal the first dimension of A, $mA" ))
30293029 end
30303030 if side == ' R' && n != mA
3031- throw (DimensionMismatch (lazy " for a right-sided multiplication, the second dimension of C, $m , must equal the second dimension of A, $mA" ))
3031+ throw (DimensionMismatch (lazy " for a right-sided multiplication, the second dimension of C, $n , must equal the first dimension of A, $mA" ))
30323032 end
30333033 if side == ' L' && k > m
30343034 throw (DimensionMismatch (lazy " invalid number of reflectors: k = $k should be <= m = $m" ))
@@ -3078,7 +3078,7 @@ for (orglq, orgqr, orgql, orgrq, ormlq, ormqr, ormql, ormrq, gemqrt, elty) in
30783078 throw (DimensionMismatch (lazy " for a left-sided multiplication, the first dimension of C, $m, must equal the second dimension of A, $nA" ))
30793079 end
30803080 if side == ' R' && n != nA
3081- throw (DimensionMismatch (lazy " for a right-sided multiplication, the second dimension of C, $m , must equal the second dimension of A, $nA" ))
3081+ throw (DimensionMismatch (lazy " for a right-sided multiplication, the second dimension of C, $n , must equal the second dimension of A, $nA" ))
30823082 end
30833083 if side == ' L' && k > m
30843084 throw (DimensionMismatch (lazy " invalid number of reflectors: k = $k should be <= m = $m" ))
0 commit comments