Skip to content

Commit

Permalink
bugfix-default for method was not set
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@10602 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
  • Loading branch information
jimher committed Aug 17, 2015
1 parent ea6de2b commit 70cecab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ft_globalmeanfield.m
Expand Up @@ -89,7 +89,7 @@
datain = ft_checkdata(datain, 'datatype', {'timelock'}, 'feedback', 'yes', 'hassampleinfo', 'yes');

% get the options
method = ft_getopt(cfg, 'method', 'amplitude');
cfg.method = ft_getopt(cfg, 'method', 'amplitude');

% ensure that the options are valid
cfg = ft_checkopt(cfg, 'method', 'char', {'amplitude', 'power'});
Expand Down

0 comments on commit 70cecab

Please sign in to comment.