From 0c0f774bca5b7c0bc64b6acd8b174fe16d49f820 Mon Sep 17 00:00:00 2001 From: Pascal Aellig Date: Tue, 12 Nov 2024 09:31:10 +0100 Subject: [PATCH] typo --- src/Setup_geometry.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Setup_geometry.jl b/src/Setup_geometry.jl index 6f84d6c1..6fc7a653 100644 --- a/src/Setup_geometry.jl +++ b/src/Setup_geometry.jl @@ -718,7 +718,7 @@ function add_polygon!(Phase, Temp, Grid::AbstractGeneralGrid; # required input end end - if !isempty(ind_flat) + if !isempty(ind) # Compute thermal structure accordingly. See routines below for different options if T != nothing Temp[ind] = compute_thermal_structure(Temp[ind], X[ind], Y[ind], Z[ind], Phase[ind], T)