-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Julia 0.6.1 throws StackOverflowError when code is called inside a loop #24942
Comments
Actually crashes internally on somewhat older master:
|
Doesn't crash anymore. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code inside gist.
Calling
update!(ahrs, gyro*pi/180., accel)
inside a loop causes a StackOverflowError, outside not. The problem is in line 27, building theMatrix
J
. Building it in rows doesn't cause the error.julia> versioninfo()
Julia Version 0.6.1
Commit 0d7248e (2017-10-24 22:15 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin14.5.0)
CPU: Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, haswell)
The text was updated successfully, but these errors were encountered: