Skip to content

Test Array in mat_rclist_*#1213

Closed
alexvong243f wants to merge 3 commits into
gnu-octave:mainfrom
alexvong243f:test-array-in-mat_rclist_
Closed

Test Array in mat_rclist_*#1213
alexvong243f wants to merge 3 commits into
gnu-octave:mainfrom
alexvong243f:test-array-in-mat_rclist_

Conversation

@alexvong243f
Copy link
Copy Markdown
Collaborator

This PR makes the mat_rclist_* functions Array-compatible.

We also add the make_matrix_or_array helper function as well, which fixes #1211. dbg_no_array is set to True for now to avoid failing tests in main.

Alex Vong added 3 commits August 29, 2022 08:10
Fixes gnu-octave#1211.

* inst/private/python_header.py: Add it.
* inst/private/python_ipc_native.m: Add it.
See gnu-octave#1194 for more information.

* inst/@sym/private/mat_rclist_access.m: Test it.
See gnu-octave#1194 for more information.

* inst/@sym/private/mat_rclist_asgn.m: Test it.
@cbm755
Copy link
Copy Markdown
Collaborator

cbm755 commented Aug 29, 2022

This looks good at a quick glance.

Should we merge it to #1194 instead of main?

@alexvong243f
Copy link
Copy Markdown
Collaborator Author

Sure, I can merge this to https://github.com/cbm755/octsympy/tree/Array_not_Matrix instead of main (after rebasing https://github.com/cbm755/octsympy/tree/Array_not_Matrix onto main).

This should be safer than merging to main directly.

alexvong243f pushed a commit to alexvong243f/octsympy that referenced this pull request Aug 30, 2022
alexvong243f pushed a commit to alexvong243f/octsympy that referenced this pull request Aug 30, 2022
@alexvong243f
Copy link
Copy Markdown
Collaborator Author

@alexvong243f alexvong243f deleted the test-array-in-mat_rclist_ branch August 30, 2022 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

common helper python function for Array/Matrix return

2 participants