Thanks for the feedback.

my comment came from this
    
    
    if myNewTracks.len > 0:
                var myTrackMin: int = myNewTracks.mapIt(it.len).min  - 1
                if myTrackMin < myMin:
                    myMin = myTrackMin
    
    
    Run

where myNewTracks is a seq[seq[Coord]] and Coord is an object of col:int, 
row:int

The test for zero was added because I was getting the error message at the 
mapIt line.

my assumption is that the mapIt gives me a sequence of int (the lengths of the 
inner seq) and I then find the minimum value from that new seq.

Reply via email to