Skip to content

Commit

Permalink
apply formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
ghislainb committed Jun 16, 2024
1 parent fb40a78 commit c612471
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mesh/transformation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ function (r::Rotation)(x)
u, (sinθ, cosθ) = r.A
rx = cosθ * x + (1 - cosθ) * (u x) * u + sinθ * cross(u, x)
return rx
end
end
2 changes: 1 addition & 1 deletion test/mesh/test_transformation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
x_rot_ref = 3(2) / 2 .* [1, 1, 0]
@test all(rot(x) .≈ x_rot_ref)
end
end
end

0 comments on commit c612471

Please sign in to comment.