From: SourceForge.net <no...@so...> - 2008-07-04 17:52:07
|
Bugs item #2010843, was opened at 2008-07-04 12:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2010843&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: None Group: Includes proposed fix Status: Open Resolution: None Priority: 6 Private: No Submitted By: Barton Willis (willisbl) Assigned to: Nobody/Anonymous (nobody) Summary: diff of Taylor poly Initial Comment: Stanislav Maslovski discovered this bug and reported to the mailing list: >============= 8< =============== >(%i1) display2d:false; > >(%o1) false >(%i2) sqrt((f - z^2/4/f)^2 + (d-z)^2) + sqrt((f - z^2/4/f)^2 + (zp-z)^2); > >(%o2) sqrt((zp-z)^2+(f-z^2/(4*f))^2)+sqrt((f-z^2/(4*f))^2+(d-z)^2) >(%i3) taylor(%, [z, zp, d], 0, 4); > >(%o3) 2*f+(z^2+(-2*zp-2*d)*z+zp^2+d^2)/(2*f) > +((2*zp+2*d)*z^3+(-5*zp^2-5*d^2)*z^2+(4*zp^3+4*d^3)*z-zp^4-d^4) > /(8*f^3) >(%i4) diff(%, z); > >Maxima encountered a Lisp error: > > Error in PROGN [or a callee]: Bad plist (($ZP ((4 . 1)) 0 A possible fix is to change old-get to (defun old-get (plist tag) (oldget plist tag)) Currently old-get is a macro: `(getf (cdr ,plist) ,tag)); here I changed it to a function (maybe it needs to b a macro, I don't know). After rebuilding, the bug is gone and the testsuite reports no errors. There are other bug reports related to a "bad plist" Maybe these bugs are related. Barton ____________________ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2010843&group_id=4933 |