Skip to content

Commit

Permalink
Remove an unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dfyz committed Mar 11, 2022
1 parent fb7ec2c commit ec8d234
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/draw/labelable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ type Polygons = Vec<Vec<PointF>>;
struct Cell {
center: PointF,
half_cell_size: f64,
distance_to_center: f64,
fitness: f64,
max_fitness: f64,
}
Expand All @@ -91,7 +90,6 @@ impl Cell {
Cell {
center: *center,
half_cell_size,
distance_to_center,
fitness: fitness_func(center, distance_to_center),
max_fitness: fitness_func(center, max_fitness_distance),
}
Expand Down

0 comments on commit ec8d234

Please sign in to comment.