[MOAB-dev] Bug in tuple_list_sort?

Robert Smith smithrm at mcs.anl.gov
Fri Dec 18 15:31:35 CST 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20091218/9ddcb53d/attachment.htm>


More information about the moab-dev mailing list