bugGNU Octave - Bugs: bug #43712, min() and max() do not respect...

 
 

bug #43712: min() and max() do not respect logical class

Submitter:  CarnĂ« Draug <carandraug>
Submitted:  Thu 27 Nov 2014 01:23:12 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  rik5
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 21 Dec 2014 04:11:35 AM UTC, comment #2: 

I finally checked in a fix for this here (http://hg.savannah.gnu.org/hgweb/octave/rev/78e424d31596).  Closing report.

Rik <rik5>
Group administrator
Thu 27 Nov 2014 10:58:29 PM UTC, comment #1: 

I have a fix for this that I worked on at Octconf 2014.  There are some other parts that I need to clean up, but this should be easy.  Marking bug as In Progress.

Rik <rik5>
Group administrator
Thu 27 Nov 2014 01:23:12 PM UTC, original submission:  

When using input of class logical, the functions min and max return a value of class double:


octave-cli-3.8.2> class (max (false, true))
ans = double


Carnë Draug <carandraug>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by carandraug (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-12-21 rik5 StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2014-11-27 rik5 StatusNone In Progress
        Assigned toNone rik5

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code