octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53857] __ga_problem_return_variables__ does h


From: Georg Wiora
Subject: [Octave-bug-tracker] [bug #53857] __ga_problem_return_variables__ does has undefined return values
Date: Mon, 7 May 2018 10:00:49 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0

URL:
  <http://savannah.gnu.org/bugs/?53857>

                 Summary: __ga_problem_return_variables__ does has undefined
return values
                 Project: GNU Octave
            Submitted by: gwiora
            Submitted on: Mon 07 May 2018 04:00:48 PM CEST
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: gwiora
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: Any

    _______________________________________________________

Details:

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.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 07 May 2018 04:00:48 PM CEST  Name: 20180507_ga-patch-wiora.patch 
Size: 2KiB   By: gwiora
Patch for ga package.
<http://savannah.gnu.org/bugs/download.php?file_id=44111>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53857>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]