Bugzilla – Attachment 8 Details for
Bug 37
sparse row-major multiplication crashes depending on matrix sizes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
This bugzilla service is closed. All entries have been migrated to
https://gitlab.com/libeigen/eigen
test driver
testEigenSparseRowMajorProduct.cpp (text/x-c++src), 751 bytes, created by
Evan Herbst
on 2010-10-10 01:00:56 UTC
(
hide
)
Description:
test driver
Filename:
MIME Type:
Creator:
Evan Herbst
Created:
2010-10-10 01:00:56 UTC
Size:
751 bytes
patch
obsolete
>#include <iostream> >#include <boost/lexical_cast.hpp> >#include "rgbd_util/eigen/Sparse" >using namespace std; >using boost::lexical_cast; >using namespace rgbd::eigen; > >int main(int argc, char* argv[]) >{ > unsigned int _ = 1; > const unsigned int s1 = lexical_cast<unsigned int>(argv[_++]), > s2 = lexical_cast<unsigned int>(argv[_++]), > s3 = lexical_cast<unsigned int>(argv[_++]), > s4 = lexical_cast<unsigned int>(argv[_++]); > SparseMatrix<double, RowMajor> a(s1, s2); > SparseMatrix<double, RowMajor> b(s3, s4); > for(unsigned int i = 0; i < a.rows(); i++) > { > a.startVec(i); > } > a.finalize(); > for(unsigned int i = 0; i < b.rows(); i++) > { > b.startVec(i); > } > b.finalize(); > SparseMatrix<double, RowMajor> c = a * b; > cout << c << endl; > > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 37
: 8 |
130
|
131
|
133