diff --git a/regression_tests/ref_counter.jl b/regression_tests/ref_counter.jl index 01c5afd393..6de6fe1aff 100644 --- a/regression_tests/ref_counter.jl +++ b/regression_tests/ref_counter.jl @@ -1,4 +1,7 @@ -162 +163 + +# 163: +# - Fixed bug introduced in 162 # 162: # - Changed the order of operations in surface conditions calculation. diff --git a/src/surface_conditions/surface_conditions.jl b/src/surface_conditions/surface_conditions.jl index b6df21cb4d..f36ac22042 100644 --- a/src/surface_conditions/surface_conditions.jl +++ b/src/surface_conditions/surface_conditions.jl @@ -418,7 +418,7 @@ vector_from_component(f₁, L::Geometry.LocalGeometry) = 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) + f = C12(f₁₃ * xz + f₂₃ * yz, L) return n₃ ⊗ f end