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:32:33 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

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

                 Summary: Assignment error: complex single precision
                 Project: GNU Octave
            Submitted by: octavebugs
            Submitted on: Tue 05 Jan 2016 09:32:32 AM GMT
                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: 4.0.1-rc1
        Operating System: GNU/Linux

    _______________________________________________________

Details:


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]