[m-dev.] trivial diff: fix array__sort bug (was RE: array test case failed )

Ralph Becket rbeck at microsoft.com
Mon Feb 26 22:40:54 AEDT 2001


Estimated hours taken: 0.5

library/array.m:
        Sorted out minor confusion between output and temporary arrays
        in samsort_up/8 that was causing the test cases to fail.



Index: array.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/array.m,v
retrieving revision 1.86
diff -u -r1.86 array.m
--- array.m     2001/02/26 01:34:07     1.86
+++ array.m     2001/02/26 11:36:01
@@ -1299,8 +1299,8 @@

     ( if I > Hi then

-        A = B0,
-        B = A0
+        A = A0,
+        B = B0

       else if N > 0 then

--
Ralph Becket      |      MSR Cambridge      |      rbeck at microsoft.com 

--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list