Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f2f5c5e7 authored by DIB Elian's avatar DIB Elian
Browse files

Small fix when mismatch between numLab and size(LabOcc)

parent 5e7381b4
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,13 @@ elseif isempty(VisSet) ...@@ -13,7 +13,13 @@ elseif isempty(VisSet)
return return
end end
numLab = numel(LabVis); numLab = max(numel(LabVis),numel(LabVis));
OffVis(end+1:numLab) = deal({[]});
OffOcc(end+1:numLab) = deal({[]});
ColVis(end+1:numLab) = deal({[]});
ColOcc(end+1:numLab) = deal({[]});
LabVis(end+1:numLab) = deal({[]});
LabOcc(end+1:numLab) = deal({[]});
for lab = 1:numLab for lab = 1:numLab
LabVis{lab}(LabVis{lab}==0) = nan; LabVis{lab}(LabVis{lab}==0) = nan;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment