LibRapid / librapid

A highly optimised C++ library for mathematical applications and neural networks.
http://librapid.rtfd.io
MIT License
164 stars 10 forks source link

Python Iterator Memory Leak #50

Closed Pencilcaseman closed 2 years ago

Pencilcaseman commented 2 years ago

Arrays do not get freed (or get over-freed) when iterating in python.

To replicate:


View raw code

```python import librapid as lrp x = lrp.Array([1, 2, 3]) for val in x: print(val) ```