------------------------------------------------------------ revno: 3999 committer: bchareyre <[email protected]> timestamp: Mon 2017-02-06 19:51:44 +0100 message: fix compile error modified: pkg/dem/Shop_01.cpp
-- lp:yade https://code.launchpad.net/~yade-pkg/yade/git-trunk Your team Yade developers is subscribed to branch lp:yade. To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'pkg/dem/Shop_01.cpp' --- pkg/dem/Shop_01.cpp 2017-02-06 17:54:41 +0000 +++ pkg/dem/Shop_01.cpp 2017-02-06 18:51:44 +0000 @@ -70,7 +70,7 @@ // adjust Interaction::cellDist for interactions; Matrix3r invFlip = (Matrix3r::Identity() + flipFloat).inverse(); - FOREACH(const shared_ptr<Interaction>& i, *scene->interactions) i->cellDist = invFlip*i->cellDist; + FOREACH(const shared_ptr<Interaction>& i, *scene->interactions) i->cellDist = (invFlip*(i->cellDist.cast<Real>())).cast<int>(); // force reinitialization of the collider bool colliderFound=false;
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

