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

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

[Octave-bug-tracker] [bug #53007] Variable editor: logical values are tr


From: Rik
Subject: [Octave-bug-tracker] [bug #53007] Variable editor: logical values are transformed to doubles upon editing
Date: Mon, 29 Jan 2018 17:30:52 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

                 Summary: Variable editor: logical values are transformed to
doubles upon editing
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Mon 29 Jan 2018 02:30:51 PM PST
                Category: GUI
                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: dev
        Operating System: Any

    _______________________________________________________

Details:

Steps to Reproduce:


x = true;
openvar x
class (x)
ans = logical
# Note: class of object displayed is 1x1 logical
# Edit x and change the value to 0
class (x)
ans = double


Note that this doesn't happen for other class types such as single, uint8,
etc.  Presumably, there is somewhere in the code that the input "val" is
evaluated and it should be wrapped by the class of the object.


final_val = feval (class_type, val);







    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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