Skip to content

Commit 943b20b

Browse files
committed
test: remove redundant warm-up block in allocation tests
1 parent bcca40e commit 943b20b

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

test/runtests.jl

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,30 +1075,6 @@ Aqua.test_all(ModernRoboticsBook)
10751075
sv3 = SVector{3}(v3)
10761076
sv6 = SVector{6}(v6)
10771077

1078-
# Warm up all functions (trigger compilation)
1079-
vec_to_so3(v3);
1080-
vec_to_so3(sv3)
1081-
so3_to_vec(so3);
1082-
so3_to_vec(sso3)
1083-
matrix_exp3(so3);
1084-
matrix_exp3(sso3)
1085-
matrix_log3(R);
1086-
matrix_log3(sR)
1087-
vec_to_se3(v6);
1088-
vec_to_se3(sv6)
1089-
se3_to_vec(se3);
1090-
se3_to_vec(sse3)
1091-
transform_inv(T);
1092-
transform_inv(sT)
1093-
adjoint_representation(T);
1094-
adjoint_representation(sT)
1095-
matrix_exp6(se3);
1096-
matrix_exp6(sse3)
1097-
matrix_log6(T);
1098-
matrix_log6(sT)
1099-
ad(v6);
1100-
ad(sv6)
1101-
11021078
# Test zero allocations with SMatrix/SVector inputs
11031079
@test @allocated(vec_to_so3(sv3)) == 0
11041080
@test @allocated(so3_to_vec(sso3)) == 0

0 commit comments

Comments
 (0)