From f80b9383d30b5cb5d791f5e1c78b60109c084338 Mon Sep 17 00:00:00 2001 From: MilesCranmer Date: Sat, 2 Nov 2024 18:14:48 +0000 Subject: [PATCH 1/2] fix: string interface test --- src/Interfaces.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Interfaces.jl b/src/Interfaces.jl index be0f6020..346db23d 100644 --- a/src/Interfaces.jl +++ b/src/Interfaces.jl @@ -123,7 +123,7 @@ function _check_set_constants!(ex::AbstractExpression) return first(get_scalar_constants(ex)) ≈ x2 end function _check_string_tree(ex::AbstractExpression) - return string_tree(ex) isa String + return string_tree(ex) isa AbstractString end function _check_default_node(ex::AbstractExpression{T}) where {T} ET = typeof(ex) From 9232a99aa0e901d98d3c75574b3912028d8dfa84 Mon Sep 17 00:00:00 2001 From: MilesCranmer Date: Sat, 2 Nov 2024 18:16:46 +0000 Subject: [PATCH 2/2] chore: bump version with interface test fix --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index c5e63e67..93091014 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "DynamicExpressions" uuid = "a40a106e-89c9-4ca8-8020-a735e8728b6b" authors = ["MilesCranmer "] -version = "1.4.0" +version = "1.4.1" [deps] ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"