Skip to content
Snippets Groups Projects
Commit 9334d762 authored by MichelJuillard's avatar MichelJuillard
Browse files

* matlab/@dynSeries/private/horzcat2.m: added missing update of 'time' member

parent a74069c9
Branches
No related tags found
No related merge requests found
......@@ -88,6 +88,7 @@ a.tex = vertcat(b.tex,c.tex);
if ~( d_nobs_flag(1) || d_init_flag(1) )
a.init = b.init;
a.data = [b.data,c.data];
a.time = b.time;
else
if b.init<=c.init
a.init = b.init;
......@@ -107,4 +108,5 @@ else
c.data = [c.data; NaN(b_last_date-c_last_date,c.vobs)];
end
a.data = [b.data, c.data];
a.time = unique([b.time, c.time]);
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment