forum.alglib.net

ALGLIB forum
It is currently Tue May 21, 2024 3:06 am

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: MQL5 ALGLIB : fatal compiler error : code generation failed
PostPosted: Mon Feb 26, 2024 2:48 pm 
Offline

Joined: Mon Feb 26, 2024 2:44 pm
Posts: 2
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


Top
 Profile  
 
 Post subject: Re: MQL5 ALGLIB : fatal compiler error : code generation fai
PostPosted: Wed Feb 28, 2024 12:34 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 913
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.


Top
 Profile  
 
 Post subject: Re: MQL5 ALGLIB : fatal compiler error : code generation fai
PostPosted: Wed Feb 28, 2024 2:51 pm 
Offline

Joined: Mon Feb 26, 2024 2:44 pm
Posts: 2
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;


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group