|
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 |
URL: <http://savannah.gnu.org/bugs/?32807> 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 _______________________________________________________ Details: >> 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: <http://savannah.gnu.org/bugs/?32807> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |