← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2027: - Fix compile error (forgot this one in lastr commit)

 

------------------------------------------------------------
revno: 2027
committer: Bruno Chareyre <bchareyre@r1arduina>
branch nick: trunk
timestamp: Mon 2010-02-15 18:51:06 +0100
message:
  - Fix compile error (forgot this one in lastr commit)
modified:
  pkg/dem/Engine/GlobalEngine/TesselationWrapper.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/Engine/GlobalEngine/TesselationWrapper.cpp'
--- pkg/dem/Engine/GlobalEngine/TesselationWrapper.cpp	2010-02-08 17:49:38 +0000
+++ pkg/dem/Engine/GlobalEngine/TesselationWrapper.cpp	2010-02-15 17:51:06 +0000
@@ -102,7 +102,7 @@
 		else {
 			v->info() = (const unsigned int) p->second;
 			//Vh->info().isFictious = false;//false is the default
-			Tes.max_id = std::max(Tes.max_id,(const unsigned int) p->second);
+			Tes.max_id = std::max(Tes.max_id, p->second);
 			Tes.vertexHandles[p->second]=v;
 			hint=v->cell();
 			++TW.n_spheres;