bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSPP-BUG: bug in binomial_execute()?


From: Ben Pfaff
Subject: Re: PSPP-BUG: bug in binomial_execute()?
Date: Sat, 17 Jan 2009 21:53:18 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Ben Pfaff <address@hidden> writes:

> The binomial_execute() function allocates two arrays of frequency
> structures.  Then, if the caller passed in category values, it
> initializes just the first element of each array with those
> category values.  I think that this is incorrect: it should
> initialize every element of these arrays with the category
> values.
>
> Am I right?

Also, should the "break;" in that function be a "continue;"?  I
think that, as is, it skips processing all the remaining
variables when one missing value is found.
-- 
"Platonically Evil Monkey has been symbolically representing the darkest 
 fears of humanity since the dawn of literature and religion, and I think
 I speak for everyone when I give it a sidelong glance of uneasy recognition 
 this evening." --Scrymarch




reply via email to

[Prev in Thread] Current Thread [Next in Thread]