From 108bc5da12baa57f5d74ffcc06c81c5b7a53b8cf Mon Sep 17 00:00:00 2001 From: Shashi Gowda Date: Sat, 2 Sep 2023 16:47:28 -0400 Subject: [PATCH] fix check in + --- src/types.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.jl b/src/types.jl index 9eef362c9..b789ab016 100644 --- a/src/types.jl +++ b/src/types.jl @@ -1061,7 +1061,7 @@ sub_t(a) = promote_symtype(-, symtype(a)) import Base: (+), (-), (*), (//), (/), (\), (^) function +(a::SN, b::SN) - !nometa(a,b) && term(+, a, b) # Don't flatten if args have metadata + !nometa(a,b) && return term(+, a, b) # Don't flatten if args have metadata if isadd(a) && isadd(b) return Add(add_t(a,b), a.coeff + b.coeff,