From ec841e0195607ac03a4885c4b514cdcb0af095e2 Mon Sep 17 00:00:00 2001 From: "Diederick C. Niehorster" Date: Fri, 7 Dec 2018 08:51:36 +0100 Subject: [PATCH] missing indexing operation when calculating range of fixations in degrees --- functions/I2MC/getFixStats.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/I2MC/getFixStats.m b/functions/I2MC/getFixStats.m index 02301a8..3e19047 100644 --- a/functions/I2MC/getFixStats.m +++ b/functions/I2MC/getFixStats.m @@ -73,7 +73,7 @@ end if ~isempty(pixperdeg) % value in degrees visual angle - rangeX = rangeX/pixperdeg; - rangeY = rangeY/pixperdeg; + rangeX(a) = rangeX(a)/pixperdeg; + rangeY(a) = rangeY(a)/pixperdeg; end end