Skip to content

Commit 70aad53

Browse files
committed
make units of input of initDots more explicit
1 parent c7d3ef0 commit 70aad53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dot/initDots.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
% decide which dots are signal dots (1) and those are noise dots (0)
2828
dots.isSignal = rand(cfg.dot.number, 1) < cfg.dot.coherence;
2929

30-
dots.speedPixPerFrame = thisEvent.speed(1);
30+
dots.speedPixPerFrame = thisEvent.speedPix(1);
3131
lifeTime = cfg.dot.lifeTime;
3232

3333
% for static dots

0 commit comments

Comments
 (0)