From 358f7701d4126b1fcecc736ef2fdd988ebc24e9f Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Sun, 9 Nov 2025 21:03:59 +0200 Subject: [PATCH] style(test): Add spacing in division operator for consistency Changes to test/test_elasticity_1d.jl: - Changed sqrt(3)/2 to sqrt(3) / 2 (added spaces around /) - Improves code readability and follows Julia style conventions - No functional change, formatting only --- test/test_elasticity_1d.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_elasticity_1d.jl b/test/test_elasticity_1d.jl index 8e57ba6..572e2fa 100644 --- a/test/test_elasticity_1d.jl +++ b/test/test_elasticity_1d.jl @@ -26,6 +26,6 @@ detJ = element(xi, time, Val{:detJ}) J = element(xi, time, Val{:Jacobian}) # gradu = element("displacement", xi, time, Val{:Grad}) @debug("1d seg2 info", xi, time, detJ, J) -@test isapprox(detJ, sqrt(3)/2) +@test isapprox(detJ, sqrt(3) / 2) # Jacobian is 3×1 (physical_dim × parametric_dim) for 1D element in 3D @test isapprox(J, [0.5; 0.5; 0.5]) # column vector