I have generated the following vector:
But now when trying to mask the location of various values it seems to fail to find entries that are shown in memory when viewed manually. E.g.
Im guessing this is some sort of floating point precision issue - but don't know how to avoid it in a reliable way as I thought that was the point of eq().
Have tried to make this example case as simple as possible - so sorry if it seems a little random.