Commit 2914d7e6 authored by sstucker's avatar sstucker
Browse files

Fixed no HRF case

parent 477e9ca4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ if ~exist('iFig','var') || isempty(iFig)
end

% If checkbox is checked, display std
if handles.radiobuttonShowStd.Value
if handles.radiobuttonShowStd.Value & isfield(plotprobe, 'ystd')
   ystd  = plotprobe.ystd{iBlk} ./ sqrt(plotprobe.dataTree.currElem.GetNtrials(iBlk)); 
else
   ystd  = [];