From: SourceForge.net <no...@so...> - 2006-01-20 13:45:48
|
Bugs item #1363421, was opened at 2005-11-22 00:25 Message generated for change (Comment added) made by rtoy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1363421&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Lisp Core Group: None Status: Open Resolution: None Priority: 5 Submitted By: Robert Dodier (robert_dodier) Assigned to: Nobody/Anonymous (nobody) Summary: nusum (1/k, k, 1, n) => Argument to concat not an atom Initial Comment: nusum (1/k, k, 1, n) => Argument to concat not an atom: max(0, 0) Dunno what that's about. Maxima version: 5.9.2.3cvs Maxima build date: 7:46 11/17/2005 host type: i686-redhat-linux-gnu lisp-implementation-type: CLISP lisp-implementation-version: 2.34 (2005-07-20) ---------------------------------------------------------------------- >Comment By: Raymond Toy (rtoy) Date: 2006-01-20 08:45 Message: Logged In: YES user_id=28849 Based on the patch, I'm guessing the translation fails because the (Lisp) function maximum has recently changed. Now it just returns `(($max) <list of args>). Presumably it used to take the maximum if possible. ---------------------------------------------------------------------- Comment By: Robert Dodier (robert_dodier) Date: 2006-01-18 17:42 Message: Logged In: YES user_id=501686 Andrej -- thanks for following up. The Zeilberger package subsumes Gosper's algorithm, so I don't think we should bother to fix nusum. After the 5.9.3 release I am going to recommend that nusum be cut out. For what it's worth, in the Zeilberger package, GosperSum (1/k, k, 1, n); => nonGosper_summable . I don't know if that's correct or not. Robert ---------------------------------------------------------------------- Comment By: Andrej Vodopivec (andrejv) Date: 2006-01-18 15:19 Message: Logged In: YES user_id=1179910 This is a bug in the translator. nusum.lisp is translated nusum.mac. nusum.mac works correctly, but if I translate it, it does not work. I have attached a simple hack to nusum.lisp which fixes this bug (another option is to autoload nusum from nusum.mac or fix the translator). Andrej ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1363421&group_id=4933 |