From: Blaisorblade (p.giarrusso_at_[hidden])
Date: 2007-12-10 20:27:16
(I forgot to note that I'm not subscribed to the list, so please CC me on
On martedì 11 dicembre 2007, Paolo Giarrusso wrote:
> I have a program like this:
> #include <boost/numeric/ublas/vector_proxy.hpp> // <== (1)
> #include <boost/numeric/ublas/lu.hpp>
> If I comment out line (1), the call to the lu_factorize template function
> fails to compile with the attached errors messages, so in short that
> inclusion should be added to lu.hpp.
> I also verified in detail the error message before deducing I was missing
> that header, so I'm confident, beyond any unreasonable doubt, that is the
> correct solution, and that I've hit no C++ pitfall or compiler bug or
> whatever (I'm using G++ 4.1, BTW); that's the reason of the excess paranoia
> with which I've double-checked everything.
> The messages in short are complaining about the lack of functions like:
> project(ublas::matrix_column<ublas::matrix<double> >&, ublas::range)
> which are declared indeed in <vector_proxy.hpp>. Also, I verified in the
> preprocessed source that no two-argument free function overloading
> project() exists. So, I definitely think <ublas/lu.hpp> is missing an
> include (beyond that, it is also missing some documentation).
> Bye, and thanks for your work.
-- "Doh!" (cit.), I've made another mistake! Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade