diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2019-01-05 10:54:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-05 10:54:11 +0100 |
commit | a3d3001efad0a30b7417cbb63a41a7db77480ac4 (patch) | |
tree | 6340ef0cacbf9b8d27a024aa1184caf5481dd413 | |
parent | 4b64bbe1c792c0b0f40d97bb98e4192e28923ca2 (diff) | |
parent | c2c1ba77fefa98764ff461bb67563d57937e0059 (diff) | |
download | cython-a3d3001efad0a30b7417cbb63a41a7db77480ac4.tar.gz |
Merge pull request #2783 from QuLogic/fix-lvalue_refs
Fix crash in lvalue_refs test.
-rw-r--r-- | tests/run/lvalue_refs.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/lvalue_refs.pyx b/tests/run/lvalue_refs.pyx index 7e3b4df28..d42f2407e 100644 --- a/tests/run/lvalue_refs.pyx +++ b/tests/run/lvalue_refs.pyx @@ -15,7 +15,7 @@ cdef void foo(vector[dpp] &bar, vector[vector[dp]] &baz) nogil: def test_lvalue_ref_assignment(): cdef vector[dpp] bar cdef vector[vector[dp]] baz - cdef vector[double] data + cdef vector[double] data = [0.0] cdef dp bongle = &data[0] bar.resize(1) |