Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1360 Return-by-value in SWIG for all Matrix::get* overloads
- Loading branch information
1 parent
972df10
commit 7347188
Showing
3 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7347188
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found BROKEN by full.
s (--ignore_memory_light)'
test_jacobian_tools (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_kron (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_matrix_expand (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_mul (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_mul_sparsity (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_mul_zero_wrong (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_mxnull (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_mxnullop (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_mxnulloutput (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_null (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_printLimiting (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_regression491 (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_repmat (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_reshape (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_reshape_sp (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_scalarMX (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_setSparse (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_singularcat (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_sparsity_indexing (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_subsass (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_symbolcheck (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_ticket (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_trans (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_transpose_bug (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_tril2symm (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_truth (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_unite (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_veccats (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_vertcat (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_vertcat_empty (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_vertcat_simp (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_vertsplit (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_vertsplit_derivative (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
test_vertsplit_simp (main.MXtests) ... skipped 'Ignoring memory_light tests (--ignore_memory_light)'
ERROR: test_MXConstant (main.MXtests)
Traceback (most recent call last):
File "mx.py", line 2014, in test_MXConstant
self.checkarray(f.getOutput(),numpyop([x1_,x2_]),str([sp,sp2,v1,v2,name]))
File "mx.py", line 132, in
self.matrixbinarypool.append(lambda a: mul(a[0],a[1].T),lambda a: dot(a[0],a[1].T),"mul(Matrix,Matrix.T)")
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ERROR: test_MX_shapes (main.MXtests)
Traceback (most recent call last):
File "mx.py", line 1955, in test_MX_shapes
self.checkarray(f.getOutput(),numpyop([x1_,x2_]),str([sp,sp2,v1,v2,x1_,x2_,name]))
File "mx.py", line 132, in
self.matrixbinarypool.append(lambda a: mul(a[0],a[1].T),lambda a: dot(a[0],a[1].T),"mul(Matrix,Matrix.T)")
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Ran 102 tests in 21.588s
FAILED (errors=2, skipped=100)
Ran 26 tests, 2 fails.
make: *** [unittests_py] Error 1