corrected bug when all variables are stationary and u is empty

time-shift
JUILLARD Michel 2010-02-15 14:17:02 +01:00
parent 44623a1d3f
commit 9509a46497
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ if size(u,2) > 0
ghx = ghx(i_stat,:);
ghu = ghu(i_stat,:);
else
i_stat_0 = 1:size(ghx,2);
i_stat = (1:n)';
end