Boost logo

Ublas :

From: Nico Galoppo (nico_at_[hidden])
Date: 2006-06-06 07:21:34


Also, one1() and one2() have gone. I think the replacement for size2(...,...) is
size_M(), but there are no obvious replacements for one1() and one2() to be used
in matrix_detail_traits<>::stride1/2.

If ublas bindings are broken right now, does anyone have advice on which version
to revert to? Thanks!

--nico

Nico Galoppo wrote:
> Hi,
>
> I'm experiencing the compile error as shown below. I'm using CVS head
> for both boost and boost-sandbox.
>
> Could anyone shed light on this error? Thanks!
>
> --nico
>
> 1>d:\dev\boost-sandbox\boost/numeric/bindings/traits/ublas_matrix.hpp(78)
> : error C2039: 'size2' : is not a member of
> 'boost::numeric::ublas::basic_column_major<>'
> 1>
> d:\dev\boost-sandbox\boost/numeric/bindings/traits/ublas_matrix.hpp(75)
> : while compiling class template member function 'int
> boost::numeric::bindings::traits::matrix_detail_traits<MIdentifier,MType>::leading_dimension(boost::numeric::ublas::matrix<T,L>
> &)'
> 1> with
> 1> [
> 1>
> MIdentifier=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>,
> 1>
> MType=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>,
> 1> T=double,
> 1> L=boost::numeric::ublas::column_major
> 1> ]
> 1>
> d:\dev\boost-sandbox\boost/numeric/bindings/traits/matrix_traits.hpp(51)
> : see reference to class template instantiation
> 'boost::numeric::bindings::traits::matrix_detail_traits<MIdentifier,MType>'
> being compiled
> 1> with
> 1> [
> 1>
> MIdentifier=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>,
> 1>
> MType=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>
> 1> ]
> 1>
> d:\dev\boost-sandbox\boost/numeric/bindings/atlas/cblas2.hpp(100) : see
> reference to class template instantiation
> 'boost::numeric::bindings::traits::matrix_traits<M>' being compiled
> 1> with
> 1> [
> 1>
> M=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>
> 1> ]
> 1> D:\dev\Hybrid\Hybrid/solvers/cleanimplicitsolver.h(128) : see
> reference to function template instantiation 'void
> boost::numeric::bindings::atlas::gemv<boost::numeric::ublas::matrix<T,L>,boost::numeric::ublas::vector<T>,boost::numeric::ublas::vector<T>>(const
> Matr &,const VctX &,VctY &)' being compiled
> 1> with
> 1> [
> 1> T=double,
> 1> L=boost::numeric::ublas::column_major,
> 1>
> Matr=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>,
> 1> VctX=boost::numeric::ublas::vector<double>,
> 1> VctY=boost::numeric::ublas::vector<double>
> 1> ]
> 1> D:\dev\Hybrid\Hybrid/solvers/cleanimplicitsolver.h(123) :
> while compiling class template member function 'void
> Hybrid::CleanImplicitSolver<Types>::assembleRHS(Hybrid::CPUHybridModel<Types>
> &,const double)'
> 1> with
> 1> [
> 1>
> Types=Hybrid::TypeBinder<double,OpenTissue::vector3,Hybrid::CPUHybridModel,Hybrid::CPUHybridModel,Hybrid::DefaultDynamicsSolverPolicy,Hybrid::DefaultFrictionHandlerPolicy,Hybrid::DenseM4Policy,Hybrid::BlockDiagonalM4Policy,boost::numeric::ublas::column_major>
> 1> ]
> 1> D:\dev\Hybrid\Hybrid/types.h(234) : see reference to class
> template instantiation 'Hybrid::CleanImplicitSolver<Types>' being compiled
> 1> with
> 1> [
> 1>
> Types=Hybrid::TypeBinder<double,OpenTissue::vector3,Hybrid::CPUHybridModel,Hybrid::CPUHybridModel,Hybrid::DefaultDynamicsSolverPolicy,Hybrid::DefaultFrictionHandlerPolicy,Hybrid::DenseM4Policy,Hybrid::BlockDiagonalM4Policy,boost::numeric::ublas::column_major>
> 1> ]
> 1> D:\dev\Hybrid\Hybrid/integrators/euler.h(35) : see reference
> to class template instantiation
> 'Hybrid::DefaultDynamicsSolverPolicy<Types>' being compiled
> 1> with
> 1> [
> 1>
> Types=Hybrid::TypeBinder<double,OpenTissue::vector3,Hybrid::CPUHybridModel,Hybrid::CPUHybridModel,Hybrid::DefaultDynamicsSolverPolicy,Hybrid::DefaultFrictionHandlerPolicy,Hybrid::DenseM4Policy,Hybrid::BlockDiagonalM4Policy,boost::numeric::ublas::column_major>
> 1> ]
> 1> D:\dev\Hybrid\Hybrid/cpu/cpu_policies.h(11) : see reference to
> class template instantiation
> 'Hybrid::EulerIntegrator<Types,CollisionDetectionPolicy,ContactSolverPolicy,UpdatePolicy>'
> being compiled
> 1> with
> 1> [
> 1> Types=MyTypes,
> 1>
> CollisionDetectionPolicy=Hybrid::DefaultCollisionDetectionPolicy,
> 1> ContactSolverPolicy=Hybrid::DefaultContactSolverPolicy,
> 1> UpdatePolicy=Hybrid::CPUUpdatePolicy
> 1> ]
> 1> d:\dev\hybrid\hybridapp\src\application.h(123) : see reference
> to class template instantiation 'Hybrid::CPUIntegrator<Types>' being
> compiled
> 1> with
> 1> [
> 1> Types=MyTypes
> 1> ]
> 1>d:\dev\boost-sandbox\boost/numeric/bindings/traits/ublas_matrix.hpp(78)
> : error C2660:
> 'boost::numeric::bindings::traits::matrix_detail_traits<MIdentifier,MType>::size2'
> : function does not take 2 arguments
> 1> with
> 1> [
> 1>
> MIdentifier=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>,
> 1>
> MType=boost::numeric::ublas::matrix<double,boost::numeric::ublas::column_major>
> 1> ]
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas

-- 
nico galoppo von borries     @  address: 105 creel st., chapel hill
comp. graphics phd. student  @           north carolina, 27516 USA
UNC, chapel hill             @  phone: +1 (919) 962-1898 (office)
                              @         +1 (919) 942-7609 (home)
                              @  email: nico at cs dot unc dot edu
                              @  homepage: http://www.cs.unc.edu/~nico