Bug Report for "lu_factor"

Susanne Wunsch <[email protected]> Sun, 25 Jun 2006 23:23:31 +0200
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
Hello,

I tried to compile your example "lu_factorization.cc" with
gcc-3.4.4 using mtl-2.1.2-22:

So I got following errors:

/usr/local/include/mtl/matrix_implementation.h: In function `typename mtl::columns_type<Matrix>::type mtl::columns(const Matrix&) [with Matrix = mtl::column_matrix<mtl::gen_external2D<double, mtl::gen_rect_offset<0, 0>, 0, 0>, mtl::gen_rect_indexer<mtl::column_orien, 0, 0, unsigned int> >]':
/usr/local/include/mtl/lu.h:57:   instantiated from `int mtl::lu_factor(DenseMatrix&, Pvector&) [with DenseMatrix = main()::Matrix, Pvector = mtl::dense1D<int, 0>]'
lu_factorization.cc:52:   instantiated from here
/usr/local/include/mtl/matrix_implementation.h:957: error: dependent-name ` mtl::columns_type<Matrix>::type' is parsed as a non-type, but instantiation yields a type
/usr/local/include/mtl/matrix_implementation.h:957: note: say `typename  mtl::columns_type<Matrix>::type' if a type is meant
/usr/local/include/mtl/matrix_implementation.h: In function `typename mtl::rows_type<Matrix>::type mtl::rows(const Matrix&) [with Matrix = mtl::column_matrix<mtl::gen_external2D<double, mtl::gen_rect_offset<0, 0>, 0, 0>, mtl::gen_rect_indexer<mtl::column_orien, 0, 0, unsigned int> >]':
/usr/local/include/mtl/lu.h:58:   instantiated from `int mtl::lu_factor(DenseMatrix&, Pvector&) [with DenseMatrix = main()::Matrix, Pvector = mtl::dense1D<int, 0>]'
lu_factorization.cc:52:   instantiated from here
/usr/local/include/mtl/matrix_implementation.h:942: error: dependent-name ` mtl::rows_type<Matrix>::type' is parsed as a non-type, but instantiation yields a type
/usr/local/include/mtl/matrix_implementation.h:942: note: say `typename  mtl::rows_type<Matrix>::type' if a type is meant
/usr/local/include/mtl/mtl.h: In function `void mtl::swap(VecX&, VecY&, mtl::oned_tag) [with VecX = mtl::oned_part<mtl::strided1D<mtl::external_vec<double, 0, unsigned int> >, mtl::strided1D<mtl::external_vec<double, 0, unsigned int> >, mtl::rect_indexer<unsigned int, mtl::row_orien, 0, 0>::OneDIndexer>, VecY = mtl::oned_part<mtl::strided1D<mtl::external_vec<double, 0, unsigned int> >, mtl::strided1D<mtl::external_vec<double, 0, unsigned int> >, mtl::rect_indexer<unsigned int, mtl::row_orien, 0, 0>::OneDIndexer>]':
/usr/local/include/mtl/mtl.h:3122:   instantiated from `void mtl::swap(const LinalgA&, const LinalgB&) [with LinalgA = mtl::oned_part<mtl::strided1D<mtl::external_vec<double, 0, unsigned int> >, mtl::strided1D<mtl::external_vec<double, 0, unsigned int> >, mtl::rect_indexer<unsigned int, mtl::row_orien, 0, 0>::OneDIndexer>, LinalgB = mtl::oned_part<mtl::strided1D<mtl::external_vec<double, 0, unsigned int> >, mtl::strided1D<mtl::external_vec<double, 0, unsigned int> >, mtl::rect_indexer<unsigned int, mtl::row_orien, 0, 0>::OneDIndexer>]'
/usr/local/include/mtl/lu.h:74:   instantiated from `int mtl::lu_factor(DenseMatrix&, Pvector&) [with DenseMatrix = main()::Matrix, Pvector = mtl::dense1D<int, 0>]'
lu_factorization.cc:52:   instantiated from here
/usr/local/include/mtl/mtl.h:3073: error: dependent-name ` mtl::dim_n<Vector>::RET' is parsed as a non-type, but instantiation yields a type
/usr/local/include/mtl/mtl.h:3073: note: say `typename  mtl::dim_n<Vector>::RET' if a type is meant
/usr/local/include/mtl/mtl.h: In function `void mtl::scale_dim(Vector&, const T&, mtl::oned_tag) [with Vector = mtl::oned_part<mtl::external_vec<double, 0, unsigned int>, mtl::external_vec<double, 0, unsigned int>, mtl::banded_indexer<unsigned int, mtl::column_orien>::OneDIndexer>, T = double]':
/usr/local/include/mtl/mtl.h:177:   instantiated from `void mtl::scale(const LinalgObj&, const T&) [with LinalgObj = mtl::oned_part<mtl::external_vec<double, 0, unsigned int>, mtl::external_vec<double, 0, unsigned int>, mtl::banded_indexer<unsigned int, mtl::column_orien>::OneDIndexer>, T = double]'
/usr/local/include/mtl/lu.h:76:   instantiated from `int mtl::lu_factor(DenseMatrix&, Pvector&) [with DenseMatrix = main()::Matrix, Pvector = mtl::dense1D<int, 0>]'
lu_factorization.cc:52:   instantiated from here
/usr/local/include/mtl/mtl.h:142: error: dependent-name ` mtl::dim_n<Vector>::RET' is parsed as a non-type, but instantiation yields a type
/usr/local/include/mtl/mtl.h:142: note: say `typename  mtl::dim_n<Vector>::RET' if a type is meant

--

Thanks for fixing ...

-- 
... bis zur nächsten Mail ...
Susanne Wunsch


_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/