xtensor-julia icon indicating copy to clipboard operation
xtensor-julia copied to clipboard

Uncomment complex test case

Open SylvainCorlay opened this issue 5 years ago • 4 comments

I am not quite sure why this would fail in the pure C++-driven test while it works in the test case where Julia makes the function call. (https://github.com/SylvainCorlay/Xtensor.jl/blob/master/deps/xtensor-julia-examples/tensors.cpp#L71)

I suspect that this might be related to garbage collection.

cc @barche

SylvainCorlay avatar Apr 19 '19 17:04 SylvainCorlay

Not sure either. I just released some GC-related changes (libcxxwrap-julia 0.5.3), maybe that helps.

barche avatar Apr 20 '19 12:04 barche

Thanks @barche.

It seems that CxxWrap 0.8.2 has not been released released as a Julia package yet though.

SylvainCorlay avatar Apr 23 '19 09:04 SylvainCorlay

Yes, I had missed the new package release system :)

Apparently the release does not resolve PR https://github.com/JuliaInterop/CxxWrap.jl/pull/136 however, so I'm holding off on doing a proper release until that one is resolved.

barche avatar Apr 23 '19 11:04 barche

Not sure either. I just released some GC-related changes (libcxxwrap-julia 0.5.3), maybe that helps.

It does not appear to have solved the issue. I wonder if libcxxwrap-julia arrays work with complex numbers.

SylvainCorlay avatar Apr 29 '19 09:04 SylvainCorlay