From 8d3d9459efbc89b7a006c53039924f8400f42e41 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Thu, 10 Jul 2003 20:40:43 +0000 Subject: [PATCH] synced to 1.2 --- ginac/basic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ginac/basic.cpp b/ginac/basic.cpp index 5b57c2fd..bd19ab59 100644 --- a/ginac/basic.cpp +++ b/ginac/basic.cpp @@ -708,7 +708,7 @@ ex basic::expand(unsigned options) const ex basic::subs(const ex & e, unsigned options) const { if (e.info(info_flags::relation_equal)) { - return subs(lst(e), options); + return subs(lst(e.lhs()), lst(e.rhs()), options); } if (!e.info(info_flags::list)) { throw(std::invalid_argument("basic::subs(ex): argument must be a list")); -- 2.49.0