You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trigshift = ft_getopt(varargin, 'trigshift', false); % causes the value of the trigger to be obtained from a sample that is shifted N samples away from the actual flank
which makes the default false rather than 0. I tested the code, false+1 evaluates to 1, just like 0+1, so it does not seem have to have any serious effect.
Nevertheless, the default should be an integer 0.
The text was updated successfully, but these errors were encountered:
Marc triggered (no pun intended) me to look into the code with #2030 and I noticed
fieldtrip/fileio/private/read_trigger.m
Line 45 in c607aec
which makes the default
false
rather than0
. I tested the code,false+1
evaluates to1
, just like0+1
, so it does not seem have to have any serious effect.Nevertheless, the default should be an integer
0
.The text was updated successfully, but these errors were encountered: