From 6b30cb06e335f494be5ab17f1858f7b90bbfe983 Mon Sep 17 00:00:00 2001 From: geekyjackson <105396509+the-one-and-only-jackson@users.noreply.github.com> Date: Thu, 1 Jun 2023 18:00:03 -0600 Subject: [PATCH] HybridSpaceStyle to HybridProductSpaceStyle --- src/basic.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/basic.jl b/src/basic.jl index fdacd3c..b0b398e 100644 --- a/src/basic.jl +++ b/src/basic.jl @@ -2,7 +2,7 @@ abstract type AbstractSpaceStyle end struct FiniteSpaceStyle <: AbstractSpaceStyle end struct ContinuousSpaceStyle <: AbstractSpaceStyle end -struct HybridSpaceStyle <: AbstractSpaceStyle end +struct HybridProductSpaceStyle <: AbstractSpaceStyle end struct UnknownSpaceStyle <: AbstractSpaceStyle end """ @@ -26,9 +26,9 @@ end SpaceStyle(::AbstractInterval) = ContinuousSpaceStyle() -const BASE_SPACE_STYLES = Union{FiniteSpaceStyle, ContinuousSpaceStyle, HybridSpaceStyle} +const BASE_SPACE_STYLES = Union{FiniteSpaceStyle, ContinuousSpaceStyle, HybridProductSpaceStyle} function promote_spacestyle(::T1, ::T2) where {T1 <: BASE_SPACE_STYLES, T2 <: BASE_SPACE_STYLES} - return (T1 == T2) ? T1() : HybridSpaceStyle() + return (T1 == T2) ? T1() : HybridProductSpaceStyle() end promote_spacestyle(_, _) = UnknownSpaceStyle()