Posted: 2012/3/8 17:34 Updated: 2012/3/18 11:06
Multi regression with Standard Errors in C# using GSL
My name is Sergei Belov (QuantCode user hyperstrings2003,
email firstname.lastname@example.org) I am MIT Math Ph.D with 15-year financial quant experience
I am testing your "Multi regression with Standard Errors in C# using GSL"
and am experiencing 2 strange problems:
1) when I compile "x86" (Debug or Release" I am getting the following error message:
Managed Debugging Assistant 'PInvokeStackImbalance' has detected a problem in 'C:\gsl-1.8-src\bin\Release\ConsoleApplication.vshost.exe'.
Additional Information: A call to PInvoke function 'ConsoleApplication!multfittest.GSL::gsl_matrix_set' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.
But when I press "F5" many times (about 20) the program steps through all these error messages and continues correctly as successfully
2) When I am compiling with the options "x64" (Debug or Release" and copying GSL 64-bit DLL for C# use (which you provided in another download) the program crashes
Which DLLs should I use for 64-bit version
I really appreciate your help.
Hope to be able to contribute my code as well (at least privately to you)
Discuss this file. Just enter your message and click on submit. No registration is required.