linbox-team / linbox

LinBox - C++ library for exact, high-performance linear algebra
https://linbox-team.github.io/linbox
GNU Lesser General Public License v2.1
81 stars 28 forks source link

test-smith-form valence fails on 32 bits #167

Closed ClementPernet closed 5 years ago

ClementPernet commented 5 years ago
test-smith-form-valence Expected smith form SL: {{1,8}{1440000,1}{0,2}}
Computed Smith form SL: {{1,1}{2,7}{1440000,1}{0,2}}
ERROR: Computed not as Expected. (1,8) != (1,1)
ERROR: Computed not as Expected. (1440000,1) != (2,7)
ERROR: Computed not as Expected. (0,2) != (1440000,1)
PASSED.
Expected smith form SL: {{1,23}{10,1}{1560,1}}
Computed Smith form SL: {{1,23}{10,1}{1560,1}}
PASSED.
Expected smith form SL: {{1,22}{2,1}{66,2}{198,1}{15444,1}{0,3}}
Computed Smith form SL: {{1,22}{2,1}{66,2}{198,1}{15444,1}{0,3}}
PASSED.
Returned state: 255 

See: https://ci.inria.fr/linbox/job/LinBox/Archi=linbox-ubuntu-i386,Compiler=clang++,NTL=withoutNTL/224/PerfPublisher/testDetails.test-smith-form-valence/

jgdumas commented 5 years ago

Commit 70184138d9e7f01590e809d5fd6131d725799aaa solves it.