Problem with LinBox::BlasBlackbox::read(..)

0 views
Skip to first unread message

s_kaspar

unread,
Nov 20, 2007, 10:35:00 AM11/20/07
to linbox-use
Hi,

using a current subversion checkout of LinBox I get the following
result when calling the example program "det":

./det matrix2.txt
A is 3084934997 by 3084934997
...

./det matrix2.txt 17
B is 2 by 2
...

where the content of "matrix2.txt" is

2 2
1 0
0 1

I assume that the problem comes from the lines 46-47

BlasBlackbox<Integers> A(ZZ);
A.read(input);

in "det.C".

Please let me know if you need more information.

Cheers,
Stefan

Clement Pernet

unread,
Nov 20, 2007, 12:05:00 PM11/20/07
to linbox-use
Hi Stefan,

Thanks for your report. I fixed the bug in the svn repository, by
replacing the A.read function by the matrix stream constructor.

The problem might show up with other examples, since I know that the
way the examples are creating and reading matrices is not standard,
but I don't have the time to change it right now.
Dan, could have a look at this bug. Shall we consider the call to read
method deprecated?
Can you make all calls to matrix readers in the examples being the
same (and being the one the user should learn to use!)

Thanks

Clément
Reply all
Reply to author
Forward
0 new messages