From 6549f79f228d6a8f14565bba822c850d1f3424e4 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Wed, 30 Apr 2003 19:50:31 +0000 Subject: [PATCH] synced to 1.0 --- ginac/function.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ginac/function.pl b/ginac/function.pl index 3d239d8a..3ca1bb88 100755 --- a/ginac/function.pl +++ b/ginac/function.pl @@ -611,6 +611,10 @@ $constructors_implementation function::function(unsigned ser, const exprseq & es) : exprseq(es), serial(ser) { tinfo_key = TINFO_function; + + // Force re-evaluation even if the exprseq was already evaluated + // (the exprseq copy constructor copies the flags) + clearflag(status_flags::evaluated); } function::function(unsigned ser, const exvector & v, bool discardable) -- 2.49.0