xtensor-stack / Xtensor.jl

Julia package for xtensor-julia
http://quantstack.net/xtensor
BSD 3-Clause "New" or "Revised" License
41 stars 6 forks source link

simplified test case (segfaults) #50

Closed nbecker closed 6 years ago

nbecker commented 7 years ago

Here is a simplified test case using julia-0.6rc, CxxWrap master

https://gist.github.com/nbecker/59054a8a7e3c94aea19fbd1af3eef611

wolfv commented 6 years ago

I've tried this code, and it does not segfault when not taking the reference to in the lambda. I'm closing this and the other issue for now.

We need to investigate if we can make passing by reference work.