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

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

PSPP-BUG: [bug #12931] ONEWAY transposes output rows/columns


From: Ben Pfaff
Subject: PSPP-BUG: [bug #12931] ONEWAY transposes output rows/columns
Date: Mon, 2 May 2005 06:28:03 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12931>

                 Summary: ONEWAY transposes output rows/columns
                 Project: PSPP
            Submitted by: blp
            Submitted on: Mon 05/02/05 at 06:28
                Category: Output Driver
                Severity: 7 - Major
                  Status: None
             Assigned to: jmd
             Open/Closed: Open

    _______________________________________________________

Details:

The ONEWAY procedure assumes that hash tables happen to iterate in an
expected order.  If they don't, then output rows or columns are transposed. 
I changed the hash table implementation and now the tests fail.  I am pretty
sure that the hash table is correct and that the ONEWAY code needs fixing.

This comment in ONEWAY makes me assume it's a ONEWAY bug:

/* FIXME: Potential danger here.
   We're ASSUMING THE array is in the order corresponding to the 
   hash order. */

Perhaps you could use hsh_sort() or hsh_sort_copy() to help with the
solution.







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12931>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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