Sorry. I've been too optimistic when replacing cellDist.cast<Real>() by 
Vector3r(contact->cellDist[0],contact->cellDist[1],contact->cellDist[2]).
Strange. Give me a moment.

Bruno

-- 
bzr2255 compilation error
https://bugs.launchpad.net/bugs/585812
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: New

Bug description:
/home/sega/work/yade/trunk/pkg/dem/Engine/GlobalEngine/ElasticContactLaw.cpp:71:
 error: no match for ternary 'operator?:' in 
'((Law2_ScGeom_FrictPhys_Basic*)this)->Law2_ScGeom_FrictPhys_Basic::<anonymous>.LawFunctor::<anonymous>.Functor2D<void,
 Loki::Typelist<boost::shared_ptr<InteractionGeometry>&, 
Loki::Typelist<boost::shared_ptr<InteractionPhysics>&, 
Loki::Typelist<Interaction*, Loki::Typelist<Scene*, Loki::NullType> > > > 
>::<anonymous>.Functor::scene->Scene::isPeriodic ? 
Eigen::MatrixBase<Derived>::operator*(const Eigen::MatrixBase<OtherDerived>&) 
const [with OtherDerived = Eigen::Matrix<double, 3, 1, 2, 3, 1>, Derived = 
Eigen::Product<const Eigen::Matrix<double, 3, 3, 2, 3, 3>&, const 
Eigen::Matrix<double, 3, 3, 2, 3, 3>&, 0>](((const 
Eigen::MatrixBase<Eigen::Matrix<double, 3, 1, 2, 3, 1> >&)((const 
Eigen::MatrixBase<Eigen::Matrix<double, 3, 1, 2, 3, 1> >*)(& 
Eigen::Matrix<double, 3, 1, 2, 3, 1>(((const double&)((const 
double*)(&(double)*contact->Interaction::cellDist.Eigen::MatrixBase::operator[]()(0)))),
 ((const double&)((const 
double*)(&(double)*contact->Interaction::cellDist.Eigen::MatrixBase::operator[]()(1)))),
 ((const double&)((const 
double*)(&(double)*contact->Interaction::cellDist.Eigen::MatrixBase::operator[]()(2)))))))))
 : Eigen::MatrixBase<Derived>::Zero() [with Derived = Eigen::Matrix<double, 3, 
1, 2, 3, 1>]()'
scons: *** [/home/sega/build/yade/build-trunk/plugins2.os] Error 1



_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to