Back to the main page.

Bug 2018 - mvaranalysis does not update ntrl after redefinetrials

Status CLOSED FIXED
Reported 2013-02-28 12:07:00 +0100
Modified 2013-05-09 08:32:16 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 normal
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Eelke Spaak - 2013-02-28 12:07:32 +0100

redefinetrials might remove some trials, leading to a crash when looping over ntrl defined earlier on simple fix: insert ntrl = numel(data.trial); after ft_redefinetrials


Jan-Mathijs Schoffelen - 2013-05-07 07:14:27 +0200

bash-4.1$ svn commit -m "bugfix - (2018) update local variable ntrl after call to ft_redefinetrial" ft_mvaranalysis.m Sending ft_mvaranalysis.m Transmitting file data . Committed revision 8105.