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
On Mon, Oct 4, 2010 at 10:54 AM, Lisandro Dalcin <dalcinl@gmail.com> wrote:
> Please consider this code:
>
> from libcpp.vector cimport vector
> v = new vector[double]()
> from math import pi
> v.push_back(pi)
>
>
> This generated bad code, more or less:
>
> double &tmp; // bad code, un-init reference!
> tmp = PyFloat_AsDouble(pi)
> v.push_back(tmp)
Migrated from http://trac.cython.org/ticket/581
The text was updated successfully, but these errors were encountered: