Skip to content

Commit

Permalink
Bugfix addressing Issue #200.
Browse files Browse the repository at this point in the history
Block is now returned as a column vector - one row per trial, consistent with other return variables.
  • Loading branch information
bartkrekelberg committed Aug 9, 2022
1 parent ff82263 commit bf68b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion +neurostim/parameter.m
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ function replaceLog(o,val,eTime)
if nargout >4 || p.Results.struct
% User asked for block information
block= get(o.plg.cic.prms.block,'atTrialTime',Inf,'matrixIfPossible',false); % Blck at end of trial
block = [block{trial}]; % Match other info that is returned
block = [block{trial}]'; % Match other info that is returned. Make it a column vector to match other data/trial info.
end

if (nargout >5 || p.Results.struct) && ~strcmp(o.name,'frameDrop')
Expand Down

0 comments on commit bf68b24

Please sign in to comment.