Commit f90e6c67 authored by Kai Brandes's avatar Kai Brandes

some more cleanup

parent dcd64a86
......@@ -72,7 +72,7 @@ pub fn calc_day_3_b(search_value: u32) -> u32 {
current_val = new_val_for(&elements, current_width, circle_iter_ele_index, new_elements_touched);
elements.push(current_val);
if (circle_iter_ele_index > 0 && circle_iter_ele_index % circle_iter_target == 0) {
if circle_iter_ele_index > 0 && circle_iter_ele_index % circle_iter_target == 0 {
circle_iter_count += 1;
circle_iter_target = next_circle_iter_target(circle_iter_count);
circle_iter_ele_index = 0;
......
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