← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2969: - remove the if(body) test in GSTS loop.

 

------------------------------------------------------------
revno: 2969
committer: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>
branch nick: trunk
timestamp: Thu 2011-11-24 15:20:42 +0100
message:
  - remove the if(body) test in GSTS loop.
modified:
  pkg/dem/GlobalStiffnessTimeStepper.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/GlobalStiffnessTimeStepper.cpp'
--- pkg/dem/GlobalStiffnessTimeStepper.cpp	2011-11-23 15:33:01 +0000
+++ pkg/dem/GlobalStiffnessTimeStepper.cpp	2011-11-24 14:20:42 +0000
@@ -73,7 +73,7 @@
 	BodyContainer::iterator biEnd = bodies->end();
 	for(  ; bi!=biEnd ; ++bi )
 	{
-		if (!*bi)  continue;
+// 		if (!*bi)  continue;
 		shared_ptr<Body> b = *bi;
 		if (b->isDynamic()) findTimeStepFromBody(b, ncb);
 	}