swarm-support
[Top][All Lists]
Advanced

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

Re: Want to delete item from list. Can't understand archived notes


From: Marcus G. Daniels
Subject: Re: Want to delete item from list. Can't understand archived notes
Date: 17 Jul 1998 09:25:14 -0700

>>>>> "PJ" == Paul Johnson <address@hidden> writes:

PJ> I tried just putting
PJ>                 [invitationsList remove: bestAlternative];
PJ> at the end of all this, but it seg faults big time.

Do you mean that you witnessed a segmentation fault on the first run
of remove:, or that the emergent quality of the whole program is a
segmentation fault?

PJ> The problem seems to be that the Sort method insists the criterion
PJ> be an integer, rather than a double. 

Why not:

disutility < bestValue ? -1 : disutility != bestValue


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

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