If t is a tuple of 2 elements of type A and B, what does
a, b = t
do ? Is it equivalent to
a = t[1]
b = t[2]
or does it do something else ?
While updating Polyhedra to Julia v0.7, I hit a weird issue where a and b have types Vector instead of A and B as expected. Moreover, when asking for the length of b I get a number that seems to large to have a vector of this size fitting in memory.
So itβs iterating over t (the indexed_iterate call) and putting the result in the a and then b variables.
(I think the indexed_iterate function returns a tuple of the value and the iterator state and the subsequent getfield is just getting the first element of that tuple, the value.)