dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #02396
Re: ublas
On Wed, 2006-04-12 at 10:33 +0200, Johan Hoffman wrote:
> Garth,
>
> I haven't compiled the code with the new DenseMatrix code yet. When I try
> I get the following error:
>
> In file included from DenseMatrix.cpp:15:
> /usr/include/boost/numeric/ublas/lu.hpp: In function `typename
> M::size_type boost::numeric::ublas::axpy_lu_factorize(M&, PM&)':
> /usr/include/boost/numeric/ublas/lu.hpp:181: error: `axpy_prod' was not
> declared in this scope
> /usr/include/boost/numeric/ublas/lu.hpp:181: error: expected
> primary-expression before '>' token
>
> Do you recognize this?
>
Which version of Boost do you have? I don't recall this exact error, but
there were some problems in boost 1.32 (the latest is 1.33.1) with
missing header files in LU.hpp, so I added some extra #includes in
DenseMatrix.cpp to avoid this. Try adding
#include<boost/numeric/ublas/operation.hpp>
before LU.hpp.
Garth
> /Johan
>
>
>
>
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
Follow ups
References
-
ublas
From: Johan Hoffman, 2006-04-12