You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.
Something about the way vectors and vector elements are created and/or assigned leads to a bug when reassigning a vector to a variable name. In this example, testVec[1] should be 0 at the end.
I'm following up on this, because I just ran into it again. In this case, I was trying to sort a vector, reassign the sorted vector to the original variable name, and access individual elements in the sorted vector. This works properly when the vector is defined all at once. But it fails when the vector is created by assigning to individual indices.
Something about the way vectors and vector elements are created and/or assigned leads to a bug when reassigning a vector to a variable name. In this example,
testVec[1]
should be0
at the end.The text was updated successfully, but these errors were encountered: