Oh, I see. Thanks Jiahao. Could you please tell me a bit more about the error message?, it is not evident for me what it means.
2015-01-31 13:24 GMT-06:00 Jiahao Chen <[email protected]>: > We could have a new function. We have separate functions for > push!([1,2,3],4,5,6) and append!([1,2,3],[4,5,6]). > > Thanks, > > Jiahao Chen > Staff Research Scientist > MIT Computer Science and Artificial Intelligence Laboratory > > On Sat, Jan 31, 2015 at 1:57 PM, Milan Bouchet-Valat <[email protected]> > wrote: >> >> Le samedi 31 janvier 2015 à 13:08 -0500, Jiahao Chen a écrit : >> > k = findin(particles, particles[3]) >> > >> > findin requires both arguments to be collections. >> > Try findin(particles, [particles[3]]) instead. >> Maybe we should add a version accepting a single element too? Any reason >> not to? >> >> >> Regards >> >
