In reply to rachel.greenlee:
What is the intended meaning of
bins x = {array1[0]};
Because array[0] == 0 when the convergroup gets constructed, this is equivalent to
bins x = {0};
which I’m sure is not what you intended. If you only callsample() when array is non-zero, you will get 0% coverage.