Skip to content

Commit 16925e2

Browse files
Merge pull request #120 from marcobarilari/marco_add-setUpRand-initPTB
add setUpRand to init PTB fix #113 #114
2 parents 8daf182 + 24c1ea2 commit 16925e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/initPTB.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
% For octave: to avoid displaying messenging one screen at a time
3131
more off;
3232

33+
% Resets the seed of the random number generator
34+
setUpRand();
35+
3336
% check for OpenGL compatibility, abort otherwise:
3437
AssertOpenGL;
3538

0 commit comments

Comments
 (0)