← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2409: 1. Small but necessary fix

 

------------------------------------------------------------
revno: 2409
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-08-19 13:23:28 +0200
message:
  1. Small but necessary fix
modified:
  pkg/dem/Engine/GlobalEngine/ParticleSizeDistrbutionRPMRecorder.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/ParticleSizeDistrbutionRPMRecorder.cpp'
--- pkg/dem/Engine/GlobalEngine/ParticleSizeDistrbutionRPMRecorder.cpp	2010-08-19 09:20:37 +0000
+++ pkg/dem/Engine/GlobalEngine/ParticleSizeDistrbutionRPMRecorder.cpp	2010-08-19 11:23:28 +0000
@@ -240,7 +240,8 @@
 		}
 		if (foundItem==false) {materialCount.push_back(materialAnalyzeIds[i].matId);}
 	}
-		
+	std::sort (materialCount.begin(), materialCount.end());
+	
 	//=================================================================================================================
 	//Save data to a file
 	out<<"**********\n";