[Top][All Lists]

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

[Octave-bug-tracker] [bug #36463] Mixed data type operations not support

From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #36463] Mixed data type operations not supported with sparse matrices
Date: Mon, 21 May 2012 11:10:37 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4 Iceweasel/10.0.4

Follow-up Comment #2, bug #36463 (project octave):

Converting single or {u,}int{8,16,32,64} types to double when using sparse
matrices would be inconsistent with what happens for full matrices and

For example, try

class (uint32 (42) + rand (3))
class (single (42) + rand (3))

Given that we don't have single or integer sparse matrices, I think the right
thing to do is throw an error.  If you want the conversion, you will have to
do it explicitly.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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