Check failed in file /usr/include/boost/numeric/ublas/functional.hpp at line 1362:
size_j == 0 || size_i <= (std::numeric_limits<size_type>::max) () / size_j
terminate called after throwing an instance of 'boost::numeric::ublas::bad_size'
what(): bad size
Aborted (core dumped)
Why did this not pass the numeric limits test? Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
sorry for the delay, I still haven't figured out how to get notifications for new threads on this forum :-(
Later in the blas2-example there is a matrix created from the sizes provided to rhs and result. If you increase the size, then the matrix size blows up and hence the error.
Hope that helps :-)
Best regards,
Karli
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I changed the sizes in blas2.cpp provided in the tutorial. Please see below:
And I got the following error:
Why did this not pass the numeric limits test? Thank you.
Hi,
sorry for the delay, I still haven't figured out how to get notifications for new threads on this forum :-(
Later in the blas2-example there is a matrix created from the sizes provided to rhs and result. If you increase the size, then the matrix size blows up and hence the error.
Hope that helps :-)
Best regards,
Karli