Forum archive 2000-2006

Robert (Rochester ugrad) - List.pm

Robert (Rochester ugrad) - List.pm

by Arnold Pizer -
Number of replies: 0
inactiveTopicList.pm topic started 10/11/2000; 1:52:35 PM
last post 10/11/2000; 1:57:14 PM
userRobert (Rochester ugrad) - List.pm  blueArrow
10/11/2000; 1:52:35 PM (reads: 1319, responses: 1)
To anyone who uses the List.pm macros:

We recently discovered a minor bug in the way the condense method in List.pm eliminated duplicate answers. Essentially, there was a list of answers, some of which may be duplicates. The code just ran through the list and deleted duplicates but it didn't double check that same place in the list (since the old value was deleted, there would be a new value in that place in the list), and so if there was another duplicate immediately after the one that was deleted, that duplicate would not be checked and so the answers would still have a duplicate answer.

This has been updated to system on both webwork and webwork2 so the problem should be eliminated, but if you come up with new errors or if you want this updated version of List.pm, please email me at webwork_interns@math.rochester.edu.

<| Post or View Comments |>


userRobert (Rochester ugrad) - Re: List.pm  blueArrow
10/11/2000; 1:57:14 PM (reads: 1784, responses: 0)
Oops, that email should have been webwork_interns@math.rochester.edu. David and I would prefer that anyone who has a question for us use this email instead of mailing one of us directly so that we always both get relevant emails.

Thanks, Rob

<| Post or View Comments |>