I am trying to remove a specific object from an array
I have an array with an Object Family defined by me
A =[Family(), ....]
I am implementing a function minimum
so that I can pass an array A
and get an object
family = minimal(A)
and then I want to remove this object from the array A
pop!(A , family)
I got error pop! has no method matching pop!...
I was looking for the correct version of the pop method, but I did not find anything that I can use, any idea how to repair this code?
source
share