[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work cor
From: |
John Donoghue |
Subject: |
[Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work correctly |
Date: |
Mon, 11 Nov 2013 18:15:54 +0000 |
User-agent: |
Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0) |
Follow-up Comment #40, bug #40381 (project octave):
Running debug using the cross build mxe:
>> test ndgrid
stopped in
C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\plot\util\ndgrid.m at line
43
43: if (nargin == 0)
debug> whos varargin
Variables in the current scope:
Attr Name Size Bytes Class
==== ==== ==== ===== =====
f varargin 1x1 24 cell
Total is 1 element using 24 bytes
debug>
stopped in
C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\plot\util\ndgrid.m at line
45
45: elseif (nargin == 1)
debug>
stopped in
C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\plot\util\ndgrid.m at line
46
46: n = max ([nargout, 1]);
debug>
stopped in
C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\plot\util\ndgrid.m at line
48
48: varargin(1:n) = varargin(1);
debug>
stopped in
C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\plot\util\ndgrid.m at line
57
57: shape = zeros (1, n);
debug> n
n = 1
debug>
stopped in
C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\plot\util\ndgrid.m at line
58
58: for i = 1:n
debug>
stopped in
C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\plot\util\ndgrid.m at line
59
59: if (! isvector (varargin{i}) && ! isempty (varargin{i}))
debug>
stopped in
C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\plot\util\ndgrid.m at line
62
62: shape(i) = length (varargin{i});
debug> whos varargin{i}
Variables in the current scope:
Attr Name Size Bytes Class
==== ==== ==== ===== =====
f varargin{i} 1x3 24 double
Total is 3 elements using 24 bytes
debug>
stopped in
C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\plot\util\ndgrid.m at line
65
65: for i = 1:n
debug>
stopped in
C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\plot\util\ndgrid.m at line
67
67: r = ones (1, n);
debug>
stopped in
C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\plot\util\ndgrid.m at line
68
68: r(i) = shape(i);
debug>
stopped in
C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\plot\util\ndgrid.m at line
71
71: s = shape;
debug>
stopped in
C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\plot\util\ndgrid.m at line
72
72: s(i) = 1;
debug>
stopped in
C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\plot\util\ndgrid.m at line
74
74: varargout{i} = repmat (reshape (varargin{i}, r), s);
debug> whos r
Variables in the current scope:
Attr Name Size Bytes Class
==== ==== ==== ===== =====
r 1x1 8 double
Total is 1 element using 8 bytes
debug> whos s
Variables in the current scope:
Attr Name Size Bytes Class
==== ==== ==== ===== =====
s 1x1 8 double
Total is 1 element using 8 bytes
debug> varargin{i}
ans =
1 2 3
debug> r
r = 3
debug> s
s = 1
debug> dbnext
error: reshape: can't reshape 1x3 array to 3x0 array
error: evaluating argument list element number 1
error: called from:
error: C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\plot\util\ndgrid.m
at line 74, column 17
error: evaluating argument list element number 1
error: evaluating argument list element number 1
error: __test__ at line 4, column 2
stopped in C:\octave-2013-11-09-19-03\share\octave\3.7.7+\m\testfun\test.m
at line 529
529: if (strcmp (__type, "xtest"))
debug>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40381>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work correctly, (continued)
- [Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work correctly, Rik, 2013/11/02
- [Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work correctly, John Donoghue, 2013/11/02
- [Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work correctly, Rik, 2013/11/07
- [Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work correctly, John Donoghue, 2013/11/07
- [Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work correctly, Rik, 2013/11/07
- [Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work correctly, John Donoghue, 2013/11/08
- [Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work correctly, John Donoghue, 2013/11/09
- [Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work correctly, Rik, 2013/11/09
- [Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work correctly, John Donoghue, 2013/11/10
- Message not available
- [Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work correctly, Rik, 2013/11/10
- [Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work correctly,
John Donoghue <=
- [Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work correctly, Rik, 2013/11/13