Unexpected behaviour working with JITParticle
s and custom kernels
#1232
-
I've been encountering very strange behaviour when using the Eg.
I guess my question is more to get a feel of:
PS: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @VeckoTheGecko, comments to your two questions below
Hmm, nested if-statements are not explicitly implemented in the codeconverter (which converts the python-code in Kernels to JIT-code. So I wouldn't be surprised that this goes wrong. I also don't know how to easily fix this, not how to give an explicit warning. I'll open an Issue and think about it. But much safer to use non-nested-if-statements!
I have never experienced this Issue myself, but don't run Windows. I also haven't seen it from anyone else here in my group (none of whom use Windows). So he bug seems to be explicitly related to Windows? No idea how to even begin to fix this... |
Beta Was this translation helpful? Give feedback.
Hi @VeckoTheGecko, comments to your two questions below
Hmm, nested if-statements are not explicitly implemented in the codeconverter (which converts the python-code in Kernels to JIT-code. So I wouldn't be surprised that this goes wrong. I also don't know how to easily fix this, not how to give an explicit warning. I'll open an Issue and think about it. But much safer to use non-nested-if-statements!