From 7f2b402497c59b6f850697fbf3de0210dc1aae09 Mon Sep 17 00:00:00 2001 From: Akshay Sridhar Date: Mon, 18 Mar 2024 08:56:28 -0700 Subject: [PATCH] Common-spaces bugfix : Use Geometry.ZPoint Constrain types. Fixes issue where SLEVE runs don't progress past h_space construction. modified: src/utils/common_spaces.jl --- src/utils/common_spaces.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/common_spaces.jl b/src/utils/common_spaces.jl index 7279285b89..7feb5f3805 100644 --- a/src/utils/common_spaces.jl +++ b/src/utils/common_spaces.jl @@ -111,9 +111,9 @@ function make_hybrid_spaces( if parsed_args["mesh_warp_type"] == "SLEVE" @info "SLEVE mesh warp" hypsography = Hypsography.SLEVEAdaption( - z_surface, - parsed_args["sleve_eta"], - parsed_args["sleve_s"], + Geometry.ZPoint.(z_surface), + FT(parsed_args["sleve_eta"]), + FT(parsed_args["sleve_s"]), ) elseif parsed_args["mesh_warp_type"] == "Linear" @info "Linear mesh warp"