Skip to content

Commit c7593b6

Browse files
authored
Merge pull request #91 from Electrostat-Lab/unit-testing
test_3d_z_gimbal_rotation: corrected parenthesis errors
2 parents ac6a653 + 27e2489 commit c7593b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

electrostatic-sandbox-framework/electrostatic-examples/src/calculus/test_3d_z_gimbal_rotation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static status_code assert_gimbals(vector3d v0, vector3d v,
6464

6565
// assert the new position of the Y Gimbal (After performing a Pi/2 Y-gimbal rotation).
6666
if ((vector2d_abs(v.gimbal.orientation->element[0][1]) != 1) ||
67-
!(vector2d_abs(v.gimbal.orientation->element[1][1] <= ___ROTATION_MIN_THRESHOLD)) ||
67+
!(vector2d_abs(v.gimbal.orientation->element[1][1]) <= ___ROTATION_MIN_THRESHOLD) ||
6868
!(v.gimbal.orientation->element[2][1] <= ___ROTATION_MIN_THRESHOLD)) {
6969
fprintf(stdout, RED "(6) Failed to assert the new X-Gimbal orientation vector!\n" RESET);
7070
return ASSERTION_FAILURE;

0 commit comments

Comments
 (0)