corrected contructor parameter names. All tests OK
This commit is contained in:
parent
e8883486f6
commit
012c71e8fb
2 changed files with 4 additions and 4 deletions
|
|
@ -55,8 +55,8 @@ public:
|
||||||
@param size Length of vector (default is 0)
|
@param size Length of vector (default is 0)
|
||||||
@param value Initial value of all elements (default is default value of type GeneType)
|
@param value Initial value of all elements (default is default value of type GeneType)
|
||||||
*/
|
*/
|
||||||
eoVector(unsigned size = 0, GeneType value = GeneType())
|
eoVector(unsigned _size = 0, GeneType _value = GeneType())
|
||||||
: EO<FitT>(), std::vector<GeneType>(size, value)
|
: EO<FitT>(), std::vector<GeneType>(_size, _value)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
/// copy ctor abstracting from the FitT
|
/// copy ctor abstracting from the FitT
|
||||||
|
|
|
||||||
|
|
@ -64,8 +64,8 @@ public:
|
||||||
* @param velocity
|
* @param velocity
|
||||||
* @param bestPositions
|
* @param bestPositions
|
||||||
*/
|
*/
|
||||||
eoVectorParticle (unsigned _size = 0,PositionType position = PositionType (), VelocityType velocity = VelocityType (), PositionType bestPositions = PositionType ()):PO < FitT > (),std::vector < PositionType > (_size, position), bestPositions (_size, bestPositions), velocities (_size,
|
eoVectorParticle (unsigned _size = 0,PositionType _position = PositionType (), VelocityType _velocity = VelocityType (), PositionType _bestPositions = PositionType ()):PO < FitT > (),std::vector < PositionType > (_size, _position), bestPositions (_size, _bestPositions), velocities (_size,
|
||||||
velocity)
|
_velocity)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue