Skip to content

Commit e603ccb

Browse files
committed
Merge remote-tracking branch 'cpp-lln-lab/master'
2 parents c02eaa0 + 56b44dd commit e603ccb

File tree

4 files changed

+1
-1
lines changed

4 files changed

+1
-1
lines changed

src/dot/initDots.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
%% Create a vector to update to dotlife time of each dot
5353
% Not all set to 1 so the dots will die at different times
5454
% The maximum value is the duraion of the event in frames
55-
time = floor(rand(cfg.dot.number, 1) * cfg.eventDuration / cfg.screen.ifi);
55+
time = floor(rand(cfg.dot.number, 1) * cfg.timing.eventDuration / cfg.screen.ifi);
5656

5757
%% Convert from seconds to frames
5858
lifeTime = ceil(lifeTime / cfg.screen.ifi);
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)