From: <no...@so...> - 2002-10-22 07:27:19
|
Bugs item #626728, was opened at 2002-10-22 03:27 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=626728&group_id=4933 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Stavros Macrakis (macrakis) Assigned to: Nobody/Anonymous (nobody) Summary: scanmap/bottomup failure Initial Comment: scanmap(lambda([q],1),sin(x),bottomup) and scanmap(factor,LOG((x^2+2*x+1)/(x+1)^2),bottomup) give a fatal error in subst0. The problem is that subst0 requires non-atomic expressions as arguments. All other uses of subst0 guarantee non-atomic arguments, but it's simpler to correct it in subst0 than to have a special version just for this case. old>> (DEFMFUN SUBST0 (NEW OLD) (COND ((ALIKE (CDR NEW) (CDR OLD)) new>> (DEFMFUN SUBST0 (NEW OLD) (COND ((atom new) new) ((ALIKE (CDR NEW) (CDR OLD)) ... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=626728&group_id=4933 |