From f66969dc23824e9a7b5d694b2ae37672b6258d2d Mon Sep 17 00:00:00 2001 From: marcobarilari Date: Fri, 2 Oct 2020 22:11:17 +0200 Subject: [PATCH 1/2] add setUpRand to init PTB fix #113 #114 --- src/initPTB.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/initPTB.m b/src/initPTB.m index a104d31..e813b5c 100644 --- a/src/initPTB.m +++ b/src/initPTB.m @@ -30,6 +30,9 @@ % For octave: to avoid displaying messenging one screen at a time more off; + % Resets the seed of the random number generator + setUpRand() + % check for OpenGL compatibility, abort otherwise: AssertOpenGL; From 24c1ea224d17fb129de9505cabadc3fda07ae95d Mon Sep 17 00:00:00 2001 From: marcobarilari Date: Fri, 2 Oct 2020 22:14:01 +0200 Subject: [PATCH 2/2] mh fix --- src/initPTB.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/initPTB.m b/src/initPTB.m index e813b5c..e2faa67 100644 --- a/src/initPTB.m +++ b/src/initPTB.m @@ -31,7 +31,7 @@ more off; % Resets the seed of the random number generator - setUpRand() + setUpRand(); % check for OpenGL compatibility, abort otherwise: AssertOpenGL;