[CppAD] compile error with boost ublas
Peter Caspers
pcaspers1973 at gmail.com
Tue Apr 14 02:15:50 EDT 2015
Hi Brad,
the following code does not compile ( I tried with boost_1_57_0 and
gcc 4.8.2 ). Can you check this please ?
Thanks
Peter
#include <cppad/cppad.hpp>
#include <boost/numeric/ublas/lu.hpp>
int main() {
typedef CppAD::AD<double> T;
boost::numeric::ublas::matrix<T> a(5,5);
boost::numeric::ublas::permutation_matrix<std::size_t> pert(5);
// lu decomposition
const std::size_t s = lu_factorize(a, pert);
return 0;
}
More information about the CppAD
mailing list