From 9148ef223b933838eb3be4ea0d9ac9e7b4ba503d Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Thu, 20 Nov 2025 17:55:23 +0200 Subject: [PATCH] refactor(domains): Remove Vec{3} conversion in update_geometry_cache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changed 'ξ = Vec{3}(ip.ξ)' to 'ξ = ip.ξ' - No conversion needed since ip.ξ is now already Vec{3} --- src/domains/continuum/update_geometry_cache.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domains/continuum/update_geometry_cache.jl b/src/domains/continuum/update_geometry_cache.jl index 7ae5691..9ae79b9 100644 --- a/src/domains/continuum/update_geometry_cache.jl +++ b/src/domains/continuum/update_geometry_cache.jl @@ -71,7 +71,7 @@ function update_geometry_cache!( @inbounds for ip_idx in 1:nips ip = ips[ip_idx] - ξ = Vec{3}(ip.ξ) + ξ = ip.ξ # Reference gradients dN_dξ = get_basis_derivatives(element_cache.topology, element_cache.basis, ξ)