← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2150: - Remove useless transition returning a LOG_ERROR.

 

------------------------------------------------------------
revno: 2150
committer: Bruno Chareyre <bchareyre@r1arduina>
branch nick: trunk
timestamp: Sun 2010-04-18 17:52:40 +0200
message:
  - Remove useless transition returning a LOG_ERROR.
modified:
  pkg/dem/Engine/PartialEngine/TriaxialCompressionEngine.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/PartialEngine/TriaxialCompressionEngine.cpp'
--- pkg/dem/Engine/PartialEngine/TriaxialCompressionEngine.cpp	2010-03-20 12:40:44 +0000
+++ pkg/dem/Engine/PartialEngine/TriaxialCompressionEngine.cpp	2010-04-18 15:52:40 +0000
@@ -136,11 +136,6 @@
 			else if (currentState==STATE_ISO_UNLOADING && !autoCompressionActivation){
 				Omega::instance().stopSimulationLoop();
 			}
-			// huh?! this will never happen, because of the first condition...
-			else 
-			{ 
-				doStateTransition (STATE_LIMBO );
-			}
 		}
 		else if ( porosity<=fixedPorosity && currentState==STATE_FIXED_POROSITY_COMPACTION )
 		{