Skip to content

Added fix and unit test for rare NaN occurance in direction of movement vector.

Luke Vassallo requested to merge NaN_bugfix into master

The NaN was generated by a calculation that divided 0.0 by 0.0. Specifically, this was caused when both variables delta_x and delta_y held the value 0.0 in function compute_pad_referenced_distance_vectors_v2 in module pcb_vector_utils.

Merge request reports