fix bug in test introduced in 8541579d48
parent
8541579d48
commit
58536c53b3
|
@ -21,9 +21,9 @@ for i=1:NSIMS
|
||||||
simdata = simdata(simdata.dates(5001:6000));
|
simdata = simdata(simdata.dates(5001:6000));
|
||||||
names=regexp(simdata.name, 'res\w*');
|
names=regexp(simdata.name, 'res\w*');
|
||||||
idxs = [];
|
idxs = [];
|
||||||
for i=1:length(names)
|
for j=1:length(names)
|
||||||
if isempty(names{i})
|
if isempty(names{j})
|
||||||
idxs = [idxs i];
|
idxs = [idxs j];
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
simdata = simdata{idxs};
|
simdata = simdata{idxs};
|
||||||
|
|
Loading…
Reference in New Issue