Is this what you expect to happen but doesn’t? fbissey@moonloop ~ $ sage ┌────────────────────────────────────────────────────────────────────┐ │ SageMath version 8.9.rc0, Release Date: 2019-09-11 │ │ Using Python 2.7.15. Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Warning: this is a prerelease version, and it may be unstable. ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ sage: matrix(ZZ,3,[1..9]).hermite_form(algorithm='ntl') --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-1-360fe65c9a76> in <module>() ----> 1 matrix(ZZ,Integer(3),(ellipsis_range(Integer(1),Ellipsis,Integer(9)))).hermite_form(algorithm='ntl')
/usr/lib64/python2.7/site-packages/sage/matrix/matrix_integer_dense.pyx in sage.matrix.matrix_integer_dense.Matrix_integer_dense.echelon_form (/dev/shm/portage/sci-mathematics/sage-9999/work/sage-9999/src-python2_7/build/cythonized/sage/matrix/matrix_integer_dense.c:17896)() 2033 w1 = v.HNF(D=D) 2034 except RuntimeError: # HNF may fail if a nxm matrix has rank < m -> 2035 raise ValueError("ntl only computes HNF for square matrices of full rank.") 2036 2037 if include_zero_rows: ValueError: ntl only computes HNF for square matrices of full rank. > On 28/09/2019, at 11:26 AM, Isuru Fernando <isu...@gmail.com> wrote: > > Hi, > > Running > > matrix(ZZ,3,[1..9]).hermite_form(algorithm='ntl') > > in sage from conda results in the process exiting with "halt 2" as opposed to > catching the NTL LogicError (child class of std::runtime_error) and raising a > python exception. > > Any ideas on why this is? > > Isuru > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/CA%2B01voOV3ZeEGpiaUr-zxq81%3DqrhMxF9A-jokYDH2%3Dk%3DNEYYLg%40mail.gmail.com. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/303A29DE-F105-40CD-ACEC-B6115AF8D90A%40gmail.com.