Skip to content
This repository was archived by the owner on Nov 22, 2023. It is now read-only.

convert HomogenousMesh constructor to an @generated function to work around segfault #93

Merged
merged 4 commits into from
Jun 7, 2017

Conversation

rdeits
Copy link
Contributor

@rdeits rdeits commented Jun 1, 2017

The current HomogenousMesh constructor is doing a lot of reflection on its input types at runtime, and somehow that's triggering the segfault in #92. Switching it to a generated function actually seems like an improvement anyway, since it moves most of that work to compile-time, and it also fixes the segfault (for some reason).

fixes #92

@SimonDanisch SimonDanisch merged commit 350c69e into JuliaGeometry:master Jun 7, 2017
@SimonDanisch
Copy link
Member

Thanks a lot!! :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segfault when constructing a HomogenousMesh from another HomogenousMesh
2 participants