plot_contributions: fix bug

time-shift
Houtan Bastani 2018-01-12 12:04:58 +01:00
parent aceeef876b
commit 23a251e7d7
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ for i = 1:length(vnames)
elseif isequal(b(j), 1)
rhs = sprintf('ds.%s%s', vnames{i}, rhs(e(j)+1:end));
elseif isequal(e(j), length(rhs))
rhs = sprintf('%sds.%s', rhs(1:b(j)-1, vnames{i}));
rhs = sprintf('%sds.%s', rhs(1:b(j)-1), vnames{i});
end
end
else