[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #32683] incorrect ndarray concatenation
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #32683] incorrect ndarray concatenation |
Date: |
Mon, 16 May 2011 02:46:22 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 |
Update of bug #32683 (project octave):
Severity: 3 - Normal => 4 - Important
Status: None => Confirmed
Summary: icompatible behaviour of ndarray concatenation =>
incorrect ndarray concatenation
_______________________________________________________
Follow-up Comment #2:
There is clearly something deeply wrong here. Reversing the order of the
concatenation of the zeros() and ones () produces strange sequences of the
coefs matrix. It appears that Octave is sampling uninitialized memory.
For example,
coefs = [ ones(1,2,2) ; zeros(3,2,2) ]
coefs =
ans(:,:,1) =
0.0000e+00 0.0000e+00
0.0000e+00 0.0000e+00
0.0000e+00 0.0000e+00
2.1031e-316 1.9281e-316
ans(:,:,2) =
0.0000e+00 0.0000e+00
0.0000e+00 0.0000e+00
0.0000e+00 0.0000e+00
1.8978e-316 2.0065e-316
But the result varies and sometimes I get all zeros.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32683>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #32683] incorrect ndarray concatenation,
Rik <=