From fc312a1e6446b993370cd93abc21d503c2c6aa9c Mon Sep 17 00:00:00 2001 From: John Darrington Date: Thu, 24 Nov 2011 21:48:29 +0100 Subject: [PATCH] GLM test: Remove redundant transformations and reorder. This change does not affect the test or its result, but makes it easier to understand. --- tests/language/stats/glm.at | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/tests/language/stats/glm.at b/tests/language/stats/glm.at index e6c961c7..a5015055 100644 --- a/tests/language/stats/glm.at +++ b/tests/language/stats/glm.at @@ -177,11 +177,11 @@ begin data. end data. do if B0 = -1 AND B1 = -1 AND B2 = -1. -compute Bgrp = -1. +compute Bgrp = 4. end if. do if B0 = 0 AND B1 = 0 AND B2 = 1. -compute Bgrp = 1. +compute Bgrp = 3. end if. do if B0 = 0 AND B1 = 1 AND B2 = 0. @@ -189,12 +189,7 @@ compute Bgrp = 2. end if. do if B0 = 1 AND B1 = 0 AND B2 = 0. -compute Bgrp = 3. -end if. - - -do if B0 = 0 AND B1 = 1 AND B2 = 0. -compute Bgrp = 4. +compute Bgrp = 1. end if. -- 2.30.2