From: SourceForge.net <no...@so...> - 2007-02-18 15:07:41
|
Bugs item #1659405, was opened at 2007-02-13 18:29 Message generated for change (Comment added) made by willisbl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1659405&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: Share Libraries Group: None >Status: Closed >Resolution: Fixed Priority: 4 Private: No Submitted By: Barton Willis (willisbl) Assigned to: Nobody/Anonymous (nobody) Summary: mnewton variable name problem Initial Comment: Mnewton uses a subscripted h; this can cause trouble. I don't know the cure. (%i1) load(mnewton)$ (%i2) h[1] : 42$ (%i3) mnewton([x + y - 1, x - y + 23],[x,y],[1,2]); Unacceptable variable to `solve': 42 ---------------------------------------------------------------------- >Comment By: Barton Willis (willisbl) Date: 2007-02-18 09:07 Message: Logged In: YES user_id=895922 Originator: YES Fixed by mnewton cvs r 1.7 ---------------------------------------------------------------------- Comment By: Barton Willis (willisbl) Date: 2007-02-16 05:40 Message: Logged In: YES user_id=895922 Originator: YES The fix is to make h local: mnewton(FuncList, VarList, GuessList):= block([nfunc, Solutions, Increments, solved:false, h, i, j, k, keepfloat:true, ratprint:false], local(h), This fixes the problem, but then mnewton does not translate. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1659405&group_id=4933 |