Minor cosmetics.
This commit is contained in:
		@@ -402,7 +402,7 @@ public class DynamicParticleSwarmOptimization extends ParticleSwarmOptimization
 | 
			
		||||
				break;
 | 
			
		||||
				}
 | 
			
		||||
			} else {
 | 
			
		||||
				System.err.println("Could not perform PSO update, because individual is not instance of InterfaceESIndividual!");
 | 
			
		||||
				throw new RuntimeException("Could not perform PSO update, because individual is not instance of InterfaceESIndividual!");
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		//if (AbstractEAIndividual.getDoublePosition(indy)[0]<500000) {
 | 
			
		||||
 
 | 
			
		||||
@@ -600,7 +600,7 @@ public class ParticleSwarmOptimization implements InterfaceOptimizer, java.io.Se
 | 
			
		||||
			default: System.err.println("particle type " + type + " unknown!"); break;
 | 
			
		||||
			}
 | 
			
		||||
		} else {
 | 
			
		||||
			EVAERROR.errorMsgOnce("Could not perform PSO update, because individual is not instance of InterfaceESIndividual!");
 | 
			
		||||
			throw new RuntimeException("Could not perform PSO update, because individual is not instance of InterfaceESIndividual!");
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user