← Back to team overview

holopy-developers team mailing list archive

Bugfix in C mie code

 

Jerome and I just fixed a nasty bug in the c mie code. Anyone who uses the c code should pull a new version (the patch is in both stable and dev) and rerun setup.py.

For those who want more details, we had a buffer overrun in the mie c code that for some reason caused segfaults in 32 bit linux but would run in 64 bit linux. However there is no guarantee it wasn't causing other problems in the 64 bit code that were just not as obvious, and could have led to undefined and possibly nondeterministic effects.

Tom