yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #13029
[Branch ~yade-pkg/yade/git-trunk] Rev 4018: fix compiler warning
------------------------------------------------------------
revno: 4018
committer: bchareyre <bruno.chareyre@xxxxxxxxxxxxxxx>
timestamp: Wed 2017-03-08 13:27:27 +0100
message:
fix compiler warning
modified:
pkg/common/Gl1_PotentialBlock.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/common/Gl1_PotentialBlock.cpp'
--- pkg/common/Gl1_PotentialBlock.cpp 2016-10-11 14:44:26 +0000
+++ pkg/common/Gl1_PotentialBlock.cpp 2017-03-08 12:27:27 +0000
@@ -460,7 +460,7 @@
functionBool = new vtkSmartPointer<ImpFuncPB> [clump->ids.size()];
ImplicitBoolNo = clump->ids.size();
- for (int i=0; i<clump->ids.size();i++){
+ for (unsigned i=0; i<clump->ids.size();i++){
const shared_ptr<Body> clumpMember = Body::byId(clump->ids[i],scene);
const PotentialBlock* pbShape =dynamic_cast<PotentialBlock*>(clumpMember->shape.get());
functionBool[i] = vtkSmartPointer<ImpFuncPB>::New();