Fixed in 2256. For some reasons, it seems (Matrix3r*Matrix3r)*Vector3r
will not return a Vector3r just like this.
It needs (Vector3r)((Matrix3r*Matrix3r)*Vector3r). Weird.
BRuno
** Changed in: yade
Status: New => Fix Released
--
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: Fix Released
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