Fixed crash in REGRESSION when only one SAVE parameter present.
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 23 Jun 2014 19:01:22 +0000 (21:01 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 23 Jun 2014 19:06:04 +0000 (21:06 +0200)
commit22c3b7ae0807d55ac6714d1f7ca9c5a5be6cc515
tree81cbf4c40578342f1bbfbb8042be01269570ef5e
parent51afec5dd5ff7da44293d09f5a147a76b6702315
Fixed crash in REGRESSION when only one SAVE parameter present.

The REGRESSION command crashed when /SAVE=resid or /SAVE=pred
(but not both) was given.  This change fixes this.

Reported by: Bob Earl <Bob.Earl@gmx.net>
src/language/stats/regression.c
tests/language/stats/regression.at