bugGNU Octave - Bugs: bug #53857, __ga_problem_return_variables__...

 
 

bug #53857: __ga_problem_return_variables__ does has undefined return values

Submitted by:  Georg Wiora <gwiora>
Submitted on:  Mon 07 May 2018 02:00:48 PM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error
Status:  None Assigned to:  None
Originator Name:  gwiora Open/Closed:  Open
Release:  4.4.0 Operating System:  Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 07 May 2018 02:00:48 PM UTC, original submission:

The function __ga_problem_return_variables__ in octave-forge package ga does not define a return value for third return argument exitflag. Up to octave release 4.2.2 this was not an error. From release 4.4.0 this is an error and ga algorithm fails in function __ga_problem__ line 87.

In the attachment I am providing a patch by defining an empty array as default return value for exitflag. This assures that code relying on the value of exitflag still will fail, but at least the ga function is working now.

Georg Wiora <gwiora>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #44111:  20180507_ga-patch-wiora.patch added by gwiora (2KiB - application/octet-stream - Patch for ga package.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gwiora (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-07 gwiora Attached File- => Added 20180507_ga-patch-wiora.patch, #44111

    Back to the top


    Powered by Savane 3.3