Skip to content

Commit

Permalink
Update skip in t_makePTDF with correct MATLAB version number.
Browse files Browse the repository at this point in the history
Proper handling of matrix ./ row-vector requires MATLAB 9.1 or later (not 9.0).
  • Loading branch information
rdzman committed Apr 23, 2024
1 parent a4c4dc5 commit a1e0ee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/t/t_makePTDF.m
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ function t_makePTDF(quiet)
t_is(H, H4, 12, sprintf('H4 (txfr) : full', k));

%% matrix of slacks (all cols)
if have_feature('matlab') && have_feature('matlab', 'vnum') < 9
t_skip(2, 'MATLAB < 9 does not handle matrix ./ row-vector properly');
if have_feature('matlab') && have_feature('matlab', 'vnum') < 9.001
t_skip(2, 'MATLAB < 9.1 does not handle matrix ./ row-vector properly');
else
Dm = [e4 e1 ones(nb, 1) Pd Pg e4 ones(nb, 1) Pd Pg];
eHm = [H4(:,1) H1(:,2) Heq(:,3) Hd(:,4) Hg(:,5) H4(:,6) Heq(:,7) Hd(:,8) Hg(:,9)];
Expand Down

0 comments on commit a1e0ee8

Please sign in to comment.