From d747591aaa81a405b3c99b691d005e7480a9cf2e Mon Sep 17 00:00:00 2001 From: Benedikt Ehinger Date: Wed, 22 May 2024 13:53:25 +0200 Subject: [PATCH] Update extract_coefs.jl --- src/extract_coefs.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extract_coefs.jl b/src/extract_coefs.jl index 0ac0d2c..8d68cab 100644 --- a/src/extract_coefs.jl +++ b/src/extract_coefs.jl @@ -35,7 +35,7 @@ extract_symbol(t::FunctionTerm) = extract_symbol.(t.args) extract_symbol(t::MatrixTerm) = extract_symbol(t.terms) extract_symbol(t::Unfold.TimeExpandedTerm) = repeat(extract_symbol(t.term), inner = length(Unfold.colnames(t.basisfunction))) -extract_symbol(f::FormulaTerm) = vcat(extract_symbol.(f.rhs)...) +extract_symbol(f::FormulaTerm) = extract_symbol(f.rhs) extract_symbol(t::Vector) = vcat(extract_symbol.(t)...) extract_symbol(t::Tuple) = vcat(extract_symbol.(t)...)