yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #06457
[Branch ~yade-dev/yade/trunk] Rev 2595: Fix compilation error introduced lastly, sorry.
------------------------------------------------------------
revno: 2595
committer: Václav Šmilauer <eu@xxxxxxxx>
branch nick: yade
timestamp: Tue 2010-12-07 17:18:48 +0100
message:
Fix compilation error introduced lastly, sorry.
modified:
pkg/dem/L3Geom.cpp
--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'pkg/dem/L3Geom.cpp'
--- pkg/dem/L3Geom.cpp 2010-12-07 15:59:37 +0000
+++ pkg/dem/L3Geom.cpp 2010-12-07 16:18:48 +0000
@@ -254,7 +254,7 @@
Vector3r localF=geom.relU().cwise()*Vector3r(phys.kn,phys.ks,phys.ks);
Vector3r localT=charLen*(geom.relPhi().cwise()*Vector3r(phys.kn,phys.ks,phys.ks));
- geom->applyLocalForceTorque(localF,localT,I,scene,phys);
+ geom.applyLocalForceTorque(localF,localT,I,scene,static_cast<NormShearPhys*>(ip.get()));
}
#ifdef YADE_OPENGL