categoricals.c: Fix memory access problems on empty interactions.
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 18 Feb 2012 11:12:46 +0000 (12:12 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 18 Feb 2012 11:12:46 +0000 (12:12 +0100)
commit320480cba250c94eb108b0cb2236b9a6ff3b8ca2
treedcdaf16ce559408f6102ac133999e60c4e64ff9d
parente5f6c5e27d1972844a09be4c4a07f4255349273c
categoricals.c: Fix memory access problems on empty interactions.

Make sure the categoricals behave correctly when passed
an interaction which contains no variables (ie, no catagories).
src/math/categoricals.c