Skip to content

Commit

Permalink
Fix bug in vech
Browse files Browse the repository at this point in the history
  • Loading branch information
wmutschl committed Nov 27, 2023
1 parent 8cf616d commit dbe1215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion progs/matlab/vech.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
% INPUTS
% - A: a square matrix
% -------------------------------------------------------------------------
[m,n] = size(A,1);
[m,n] = size(A);
if m ~= n
error('The input matrix must be square');
end
Expand Down

0 comments on commit dbe1215

Please sign in to comment.