Kal Bolgorte gave me a hint as to what the problem might be. I think this patch might fix it. Could you try it?
J'
On Thu, Dec 04, 2014 at 11:38:35AM +0100, Harry Thijssen wrote:
>OK. My guess is the problem is somewhere in the dump_statistics
function, but
>I cannot
>see anything obviously wrong.
>Do you feel up to applying some diagnostics ?
Sure, no problem. Just send me the diagnostics you need.
Have fun
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
diff --git a/src/language/stats/frequencies.c b/src/language/stats/frequencies.c
index b2253e3..17e0313 100644
--- a/src/language/stats/frequencies.c
+++ b/src/language/stats/frequencies.c
@@ -82,6 +82,14 @@ ptile_3way (const void *_p1, const void *_p2)
if (p1->p < p2->p)
return -1;
+ if (p1->p == p2->p)
+ {
+ if (p1->show > p2->show)
+ return -1;
+
+ return (p1->show < p2->show);
+ }
+
return (p1->p > p2->p);
}
signature.asc
Description: Digital signature
_______________________________________________ pspp-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/pspp-dev
