[BUG] Missed dimension reduction in YawOptimization
base class
#1033
Labels
bug
Something isn't working
YawOptimization
base class
#1033
These lines
were missed in the v4 dimension reduction process #764 , and can be fixed by replacing with
(that is, switching from
axis=3
toaxis=2
throughout, and also specifying the axis for thenp.squeeze
operation).The reason this hasn't come up before is that this code only runs if
minimum_yaw_angle
is strictly greater 0 ormaximum_yaw_angle
is strictly less than 0, which is an unusual circumstance.I will create a bugfix PR in due course that will include tests for these "unusual" minimum and maximum angles.
The text was updated successfully, but these errors were encountered: