Categoricals.c: Ensure that categories are processed order of their categorical varia... 20121109030502/pspp 20121110030502/pspp 20121111030502/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 8 Nov 2012 13:33:51 +0000 (14:33 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 8 Nov 2012 13:33:51 +0000 (14:33 +0100)
commitbb0e1c1f8b1a87a0ccd9bb4ffb22466475a47b7f
tree5debebcfe4fb2fb0d79cdfb02515df95e82fa934
parent12140b59f70771295af36404296219cba9f3f6bc
Categoricals.c: Ensure that categories are processed order of their categorical variable(s).

Some procedures require that categoricals are processed in a particular order.
Mathematically, the order is irrelevant, however for reporting purposes it is
sometimes required.  This change adds a level of indirection, so that the codes
are allocated in ascending order of the categorical variable.
src/math/categoricals.c