@@ -2975,10 +2975,10 @@ for (orglq, orgqr, orgql, orgrq, ormlq, ormqr, ormql, ormrq, gemqrt, elty) in
2975
2975
mA = size (A, 1 )
2976
2976
k = length (tau)
2977
2977
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" ))
2979
2979
end
2980
2980
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" ))
2982
2982
end
2983
2983
if side == ' L' && k > m
2984
2984
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
3025
3025
mA = size (A, 1 )
3026
3026
k = length (tau)
3027
3027
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" ))
3029
3029
end
3030
3030
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" ))
3032
3032
end
3033
3033
if side == ' L' && k > m
3034
3034
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
3078
3078
throw (DimensionMismatch (lazy " for a left-sided multiplication, the first dimension of C, $m, must equal the second dimension of A, $nA" ))
3079
3079
end
3080
3080
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" ))
3082
3082
end
3083
3083
if side == ' L' && k > m
3084
3084
throw (DimensionMismatch (lazy " invalid number of reflectors: k = $k should be <= m = $m" ))
0 commit comments