You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This test passes. It is an error. But the error message is not shown:
octave:43> [z03; z04]
pydebug: vertcat: all inputs must have the same number of columns
error: sym/vertcat method failed
error: called from
pycall_sympy__ at line 179 column 7
vertcat at line 67 column 5
The thing shown in pydebug should be the error message---here just hacked to show up:
'ncols = [number_of_columns(x) for x in args]'
'if not all_equal(*ncols):'
' msg = "vertcat: all inputs must have the same number of columns"'
+ ' dbout(msg)'
' raise ShapeError(msg)'
'CCC = [as_list_of_list(x) for x in args]'
'CC = flatten(CCC, levels=1)'
The text was updated successfully, but these errors were encountered:
Hmmm, it does give the error when run as vertcat(z03, z04) but not as [z03; z04]. Sounds like "Someone Else's Problem" (upstream). I'll add this zero case to the existing tests for vertcat error message
On Thursday, September 15th, 2022 at 8:19 PM, Colin B. Macdonald ***@***.***> wrote:
I didn't dig any deeper. Do you mean "compatibility with Matlab"? I don't know, have not tried it in Matlab.
Yes, I mean so.
You can certainly file upsteam if you'd like.
Good, I'll ask upstream devs whether this is for compat then.
In
Array_and_Matrix
branch:This test passes. It is an error. But the error message is not shown:
The thing shown in
pydebug
should be the error message---here just hacked to show up:'ncols = [number_of_columns(x) for x in args]' 'if not all_equal(*ncols):' ' msg = "vertcat: all inputs must have the same number of columns"' + ' dbout(msg)' ' raise ShapeError(msg)' 'CCC = [as_list_of_list(x) for x in args]' 'CC = flatten(CCC, levels=1)'
The text was updated successfully, but these errors were encountered: