[MOAB-dev] Bug in tuple_list_sort?

Tim Tautges tautges at mcs.anl.gov
Mon Dec 21 14:37:21 CST 2009


Yikes, that does look like a bug to me.  Can you change it, and make sure the parallel tests run?  Make sure you run 
those tests on a system with mpiexec :), and make sure they run successfully in parallel (the parallel make check will 
do that).

- tim


Robert Smith wrote:
> This is a very detailed question but, I was looking through 
> tuple_list_sort in tuple_list.c to understand it better and I think I 
> saw a typo in line 62.
> 
> The code is written as:
> else if (key < mi+mul)
> but shouldn't it be:
> else if (key < mi+ml)
> 
> In other words we are checking if the key is one of the entries in 
> tuple_list.vl[...].
> Did I misunderstand something?
> 
> --Bob

-- 
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
          phone: (608) 263-8485      1500 Engineering Dr.
            fax: (608) 263-4499      Madison, WI 53706



More information about the moab-dev mailing list