Reply To: Deallocate / LastIndex / ICover
Why OSVVM™? › Forums › OSVVM › Deallocate / LastIndex / ICover › Reply To: Deallocate / LastIndex / ICover
June 11, 2016 at 17:14
#1167
Jim Lewis
Member
Hi Richard,
Thanks for reporting this. It looks like the current version (2016.01) has the same issue. If you want to do a quick edit of the package. In Deallocate, it should assign LastIndex to 1.
If you want an alternative work around, after deallocate, call RandCovPoint and discard the values. This will set LastIndex to something appropriate for your coverage model.
If you are just trying to zero out your coverage model, you might try SetCovZero.
This will be fixed on the GitHub site shortly and later in the next formal release.
Best Regards,
Jim