[Top][All Lists]

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

[Octave-bug-tracker] [bug #32807] x(:) silently converts double to singl

From: Sergey B Kirpichev
Subject: [Octave-bug-tracker] [bug #32807] x(:) silently converts double to single for scalar x
Date: Wed, 16 Mar 2011 12:10:39 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; ru-ru) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6


                 Summary: x(:) silently converts double to single for scalar x
                 Project: GNU Octave
            Submitted by: skirpichev
            Submitted on: Срд 16 Мар 2011 12:10:38
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.0
        Operating System: GNU/Linux



>> x=single(1);class(x)
ans = single
>> y=x(:);class(y)
ans = double

but for vectors it seems to be correct:

>> x=single([1,1]);class(x)
ans = single
>> y=x(:);class(y)
ans = single


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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