Le Nam Thang - 2005-01-12

Hi All,

mxrToolkit offers an easy-to-use optimization library but if you have used this optimization library, you may have encountered a bug.  Tracing this bug leads to a call to a memory release function ("free"), and this does not help much in debugging.

Anyway, the bug is caused by the global variables declared in the file mxrOptimize.cpp.  This bug can be fixed by not using these variables.  Parameters explicitly passing to the optimization procedures should be used instead.