Open Kishan-Ved opened 6 months ago
What's the output given by len(A)
?
It is the same as A.size
for all the 3 cases in the code above.
Actually size
is correct. len(A)
should give 2
in the end. Also check the references in the DODA
docs.
Description of the problem
BUG: DynamicOneDimensionalArray's size is not updated properly
Example of the problem
Output:
The final size should be 2, but it is 3.