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

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

[Octave-bug-tracker] [bug #47091] String representation of an anonymous


From: Alexander Klein
Subject: [Octave-bug-tracker] [bug #47091] String representation of an anonymous function may not match its semantics
Date: Mon, 08 Feb 2016 16:06:33 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:43.0) Gecko/20100101 Firefox/43.0

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

                 Summary: String representation of an anonymous function may
not match its semantics
                 Project: GNU Octave
            Submitted by: matalex
            Submitted on: Mo 08 Feb 2016 16:06:32 GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: *BSD

    _______________________________________________________

Details:

When saving and loading variables containing anonymous functions, the string
representation in the output file may not match their semantics.

What apparently happens in the attached example is that upon converting the
function f back to a string when saving, the brackets surrounding the colon
expression get trashed, and when again converting the new - and wrong - string
representation to a function, the + operator takes precedence over the :, as
it should, and we get funny results.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mo 08 Feb 2016 16:06:32 GMT  Name: source_me  Size: 157B   By: matalex

<http://savannah.gnu.org/bugs/download.php?file_id=36277>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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