From e2c203b415887f37797f67180a16728c5b03b87e Mon Sep 17 00:00:00 2001 From: "Gregory L. Wagner" Date: Fri, 5 Apr 2024 15:13:39 -0600 Subject: [PATCH] Remove @inline --- src/surface_conditions/surface_conditions.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/surface_conditions/surface_conditions.jl b/src/surface_conditions/surface_conditions.jl index 33892fa541f..8957069e9ae 100644 --- a/src/surface_conditions/surface_conditions.jl +++ b/src/surface_conditions/surface_conditions.jl @@ -403,13 +403,13 @@ function atmos_surface_conditions( ) end -@inline surface_normal(L::Geometry.LocalGeometry) = C3(unit_basis_vector_data(C3, L)) +surface_normal(L::Geometry.LocalGeometry) = C3(unit_basis_vector_data(C3, L)) -@inline vector_from_component(f₁, n₁) = f₁ * n₁ -@inline vector_from_component(f₁, L::Geometry.LocalGeometry) = +vector_from_component(f₁, n₁) = f₁ * n₁ +vector_from_component(f₁, L::Geometry.LocalGeometry) = vector_from_component(f₁, surface_normal(L)) -@inline function tensor_from_components(f₁₃, f₂₃, L, n₃=surface_normal(L)) +function tensor_from_components(f₁₃, f₂₃, L, n₃=surface_normal(L)) xz = CT12(CT1(unit_basis_vector_data(CT1, L)), L) yz = CT12(CT2(unit_basis_vector_data(CT2, L)), L) f = C12(f₁₃ * xz + f₂₃ * xz, L)