vector::resize
instead of vector::reserve
might do it. The latter ensures allocation, but doesn't set the size, and it's vector::operator[]
that has the failing assertion based on the index 0 not being less than the size 0.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1