[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54261] blkmm error for some size of input
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #54261] blkmm error for some size of input |
Date: |
Mon, 9 Jul 2018 14:58:29 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 |
Update of bug #54261 (project octave):
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #1:
Confirmed. I suppose what is really needed is a test in blkmm for an empty
matrix (m = 0 or p = 0). In that case, there is no need to call the
underlying multiplication routines. Doing a little debugging with ordinary
matrices
octave:8> x = ones (0,3)
x = [](0x3)
octave:9> y = ones (3,4)
y =
1 1 1 1
1 1 1 1
1 1 1 1
octave:10> x * y
ans = [](0x4)
So in the following case, the output should be [](0x4x3), instead of an
error.
octave:11> x = zeros (0,3,3)
x = [](0x3x3)
octave:12> y = ones (3,4,3);
octave:13> c = blkmm (x,y)
error: Fortran procedure terminated by call to XERBLA
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54261>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/