[Top][All Lists]

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

[Octave-bug-tracker] [bug #29630] reshape of logical scalar return doubl

From: anonymous
Subject: [Octave-bug-tracker] [bug #29630] reshape of logical scalar return double value
Date: Wed, 21 Apr 2010 16:07:30 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100402 Ubuntu/9.10 (karmic) Firefox/3.5.9


                 Summary: reshape of logical scalar return double value
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 21 Apr 2010 04:07:29 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Alois Schlögl
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux



Reshaping a logical scalar returns a double value. 

This causes strange effects when A is in general a logical matrix, but can
degrade to a matrix of size 1x1. 

The issue can reproduced by 


ans = double

The answer is incorrect as one would expect 

ans = logical



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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