From: John Darrington Date: Thu, 24 Nov 2011 20:48:29 +0000 (+0100) Subject: GLM test: Remove redundant transformations and reorder. X-Git-Tag: v0.7.9~78 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc312a1e6446b993370cd93abc21d503c2c6aa9c;p=pspp-builds.git GLM test: Remove redundant transformations and reorder. This change does not affect the test or its result, but makes it easier to understand. --- 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.