bugGNU Octave - Bugs: bug #37946, can't assign `float complex...

 
 

bug #37946: can't assign `float complex matrix' gmres.m

Submitter:  None
Submitted:  Tue 18 Dec 2012 08:44:56 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Need Info Assigned to:  None
Originator Name:  Holger Dyja Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  3.6.2
Operating System:  Microsoft Windows Fixed Release:  None
Planned Release:  None

Discussion locked!

Jump to the original submission

Mon 25 Feb 2013 10:05:32 AM UTC, comment #6: 

I deleted your attachment because it contained files with MathWorks copyright notices.

As this is the third time I've asked you to not post non-free code here (especially not parts of Matlab), I'm locking the discussion.  If you have some code that you can post that demonstrates the problem, send me email.

John W. Eaton <jwe>
Group administrator
Mon 25 Feb 2013 09:00:21 AM UTC, comment #5: 

see below

(file #27526)

Anonymous
Mon 25 Feb 2013 07:45:13 AM UTC, comment #4: 

I deleted your attachment because it contained files with MathWorks copyright notices.

As I've already asked once before, please don't post non-free code on the bug tracker, especially not parts of Matlab.

John W. Eaton <jwe>
Group administrator
Mon 25 Feb 2013 07:25:14 AM UTC, comment #3: 

Hallo Rik,
try to execute the DDAtoolbox (Discrete Dipole Apoximation)
\DDA_toolbox\DDA\examples\x_PF_Soot_sphere.m
delete the comment in line 27
finally the calculation will stop with the mentioned Error

Holger Dyja

(file #27522)

Anonymous
Sat 23 Feb 2013 07:28:59 PM UTC, comment #2: 

Can the original poster upload an Octave data file with the matrices used?  We need to be able to reproduce the problem in order to debug it.

Rik <rik5>
Group administrator
Fri 04 Jan 2013 06:33:10 PM UTC, comment #1: 

I deleted the attached gmres2.m file because it was a file from Matlab with a MathWorks copyright.

Please don't post non-free code on the bug tracker, especially not parts of Matlab.

John W. Eaton <jwe>
Group administrator
Tue 18 Dec 2012 08:44:56 AM UTC, original submission:  

inbuild gmres.m
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'
error: called from:
error:   C:\Program Files (x86)\Octave3.6.2_gcc4.6.2\share\octave\3.6.2\m\sparse\gmres.m at line 159, column 15


or extra gmres2.m
error: operator =: no conversion for assignment of `float complex matrix' to indexed `complex matrix'
error: assignment failed, or no method for `complex matrix = float complex matrix'
error: called from:
error:   D:/MatOpt/DDA_toolbox/DDA\gmres2a.m at line 259, column 12

The problem seem to bee this lines:
V = zeros (n), m);
% u is complex
V(:, 1) = u;

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 12 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-01-12 siko1056 Dependencies- bugs #46816 is dependent
    2013-06-24 rik5 Open/ClosedOpen Closed
    2013-02-25 jwe Discussion LockNone Locked
    2013-02-25 jwe Attached File#27526 Removed
    2013-02-25 jwe Attached File#27525 Removed
    2013-02-25 None Attached File- Added DDA_toolbox.zip, #27526
    2013-02-25 None Attached File- Added DDA_toolbox.zip, #27525
    2013-02-25 jwe Attached File#27522 Removed
    2013-02-25 None Attached File- Added DDA_toolbox.zip, #27522
    2013-02-23 rik5 StatusNone Need Info
    2013-01-04 jwe Attached File#27118 Removed
    2012-12-18 None Attached File- Added gmres2.m, #27118

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code