Since I wasn't the one who implemented this algorithm, this might take a while to figure out.
The only example I have as of now is
[ 9 7 -7 7 -3 7
-1 5 0 7 -4 -1
2 2 9 7 -5 3
-2 6 3 -9 -3 5]
which, when passed to hnfc(), fails because of RowHermite requiring that the U matrix be unimodular (the calculated determinant is 0, but it should be ±1).
Since I wasn't the one who implemented this algorithm, this might take a while to figure out.
The only example I have as of now is
which, when passed to
hnfc(), fails because ofRowHermiterequiring that theUmatrix be unimodular (the calculated determinant is 0, but it should be ±1).