From c8b118b8b24fc29c34ad936f31283ed3321dc73f Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Thu, 20 Nov 2025 17:57:06 +0200 Subject: [PATCH] test(domains): Remove Vec{3} conversions in stiffness block allocation test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changed 'ξ = Vec{3}(ip.ξ)' to 'ξ = ip.ξ' in two test locations - First occurrence in warm-up loop - Second occurrence in allocation measurement loop - No conversions needed since ip.ξ is now already Vec{3} --- test/domains/continuum/test_stiffness_block_allocations.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/domains/continuum/test_stiffness_block_allocations.jl b/test/domains/continuum/test_stiffness_block_allocations.jl index bf7ca3a..494957f 100644 --- a/test/domains/continuum/test_stiffness_block_allocations.jl +++ b/test/domains/continuum/test_stiffness_block_allocations.jl @@ -191,7 +191,7 @@ using JuliaFEM: default_integration, integration_points, compute_element_stiffne for k in 1:N, l in 1:N K_kl = zero(Tensor{2,3,Float64}) for ip in ips - ξ = Vec{3}(ip.ξ) + ξ = ip.ξ w = ip.weight dN_dξ = get_basis_derivatives(topology, basis, ξ) J = X[1] ⊗ dN_dξ[1] @@ -222,7 +222,7 @@ using JuliaFEM: default_integration, integration_points, compute_element_stiffne for k in 1:N, l in 1:N K_kl = zero(Tensor{2,3,Float64}) for ip in ips - ξ = Vec{3}(ip.ξ) + ξ = ip.ξ w = ip.weight dN_dξ = get_basis_derivatives(topology, basis, ξ) J = X[1] ⊗ dN_dξ[1]