Yes, it can be tricky to reduce these things because inference, inlining, etc. may be subtly different depending on the context (e.g. global variables or top-level scope). If possible try to get it down to 50 lines or so.
This is an inference issue, but I'm not sure if anyone can say much more than that without additional context... See for example: https://github.com/JuliaLang/julia/issues/3743 On Wed, Nov 5, 2014 at 12:22 PM, Nils Gudat <nils.gu...@gmail.com> wrote: > Good point. The problem is that the error happens at a point in my code > that is quite hard to boil down to something reproducable, especially > because when I try reproducing it step-by-step from my own code (!), it > doesn't appear. > > Of course you are still correct that I forgot to post the version info: > > > - > > Julia Version 0.3.1 > > - > > Commit c03f413* (2014-09-21 21:30 UTC) > Platform Info: > System: Windows (x86_64-w64-mingw32) > CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz > WORD_SIZE: 64 > BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge) > LAPACK: libopenblas > LIBM: libopenlibm > LLVM: libLLVM-3.3 > > > >