fix: 🚑 this much as bee can't be lying

This commit is contained in:
Ahmet Kaan GÜMÜŞ 2024-11-20 00:20:40 +03:00
parent 812c34051d
commit e9d8b8dbde
2 changed files with 19 additions and 14 deletions

View file

@ -14,7 +14,7 @@ impl FoodSource {
pub fn new(coordinates: Vec<f64>) -> Self {
let mut food_source = FoodSource {
fitness_calculation: 0.0,
function_calculation: 0.0,
function_calculation: 1.0,
coordinates,
try_counter: 0,
};