octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #46816] Assignment error: complex single preci


From: Ceral Paquet
Subject: [Octave-bug-tracker] [bug #46816] Assignment error: complex single precision
Date: Tue, 05 Jan 2016 09:33:27 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #1, bug #46816 (project octave):

Re-post - formatting removed.

>> clear
>> A=zeros(38,1);
>> B=zeros(38,38,'single')+i;
>> A(:,1)=B(:,1);
error: operator =: no conversion for assignment of 'float complex matrix' to
indexed 'complex matrix'
error: assignment failed, or no method for 'matrix = float complex matrix'
>> whos
Variables in the current scope:

   Attr Name        Size                     Bytes  Class
   ==== ====        ====                     =====  =====
        A          38x1                        304  double
   c    B          38x38                     11552  single

Total is 1482 elements using 11856 bytes

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46816>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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