Commit a6e856ea authored by VAN TOLL Wouter's avatar VAN TOLL Wouter

Fixed some type conversion warnings.

parent 393c5fa6
......@@ -36,7 +36,7 @@ class SocialForces : public CostFunction
private:
float AtractorForce = 1;
float RepulsionForce = 3;
float sigma = 0.3;
float sigma = 0.3f;
public:
const static std::string GetName() { return "SocialForces"; }
......
......@@ -187,7 +187,7 @@ Agent* WorldBase::getAgent(int id) {
return agents_[id].get();
}
int WorldBase::getNumAgents() {
return agents_.size();
return (int)agents_.size();
}
WorldType WorldBase::getType() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment