forum.alglib.net
http://forum.alglib.net/

MQL5 ALGLIB : fatal compiler error : code generation failed
http://forum.alglib.net/viewtopic.php?f=2&t=4594
Page 1 of 1

Author:  ndnz2018 [ Mon Feb 26, 2024 2:48 pm ]
Post subject:  MQL5 ALGLIB : fatal compiler error : code generation failed

Hello,

i get the following error with the last alglib update (2023.09.08 17:34). It's caused by function MNLTrainH.

fatal compiler error: code generation failed

Here the minimal example to reproduce it:
Code:
#include <math\alglib\alglib.mqh>
CLogitModelShell log_mod;
CMNLReportShell log_mod_rep;
CMatrixDouble log_mod_data;
int log_mod_info = 0;
void OnStart()
  {
      CAlglib::MNLTrainH(log_mod_data, 10, 3, 2, log_mod_info, log_mod, log_mod_rep);   
  }

I hope somebody can help.

Greetings

cn

Author:  Sergey.Bochkanov [ Wed Feb 28, 2024 12:34 pm ]
Post subject:  Re: MQL5 ALGLIB : fatal compiler error : code generation fai

Hi! The MQL5 port is an unofficial port by MQL developers, it is not supported by ALGLIB Project. Actually, I do not even know MQL language :) so, it is impossible to get a support here.

Author:  ndnz2018 [ Wed Feb 28, 2024 2:51 pm ]
Post subject:  Re: MQL5 ALGLIB : fatal compiler error : code generation fai

Hello,

i have isolated the code line. The following line 14559 in dataanalysis.mqh is wrong, but i don't know why ?
Code:
//--- evaluate the function and gradient at stp
//--- and compute the directional derivative.
x=wa+s*stp+0;

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/