bugGNU Octave - Bugs: bug #43780, Single-precision diagonal matrix...

 
 

bug #43780: Single-precision diagonal matrix expanded when multiplying logical vector

Submitted by:  Nir Krakauer <nir_krakauer>
Submitted on:  Mon 08 Dec 2014 05:38:09 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Nir KrakauerOpen/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 18 Dec 2016 08:08:13 PM UTC, comment #3:

This issue is still present in Octave 4.2.0.

Hartmut <hardy>
Mon 12 Oct 2015 10:35:44 PM UTC, comment #2:

Just had time to test this. Unfortunately it fails to compile

Looking to code by example, I used the DEFCONVFN macro as was done earlier in op-bm-bm.cc.

This leads to

so I commented out the scalar instance of DEFCONVFN and INSTALL_CONVOP. Now it compiles. But I get the same error as before

Just guessing, but maybe the conversions need to be somewhere in the fdm files for float_diagonal_matrix in the operator directory.

Rik <rik5>
Project Administrator
Thu 01 Oct 2015 12:07:20 PM UTC, comment #1:

This should be trivially fixed by adding the lines

to libinterp/operators/op-bm-bm.cc though I can't test it

D.

Anonymous
Mon 08 Dec 2014 05:38:09 PM UTC, original submission:

On the other hand,

both work fine.

Nir Krakauer <nir_krakauer>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by nir_krakauer (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 18 Dec 2016 11:26:20 PM UTCrik5Release3.8.2=>dev
    Mon 29 Dec 2014 05:48:42 PM UTCrik5StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1