|
From: SourceForge.net <no...@so...> - 2009-03-08 08:57:03
|
Bugs item #2664752, was opened at 2009-03-05 12:04 Message generated for change (Comment added) made by dmaj26 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2664752&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: Xmaxima or other UI Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: David Ström (dmaj26) Assigned to: Nobody/Anonymous (nobody) Summary: xMaxima and wxMaxima: eivals causes multiple %o:s Initial Comment: ----------------------------------------------------Maxima version: 5.17.0 Maxima build date: 19:8 12/4/2008 host type: i686-pc-mingw32 lisp-implementation-type: GNU Common Lisp (GCL) lisp-implementation-version: GCL 2.6.8 ---------------------------------------------------- a:matrix([1,3],[1,-1]);eigenvalues(a); causes empty %o:s both in wxMaxima and xMaxima. load(eigen) solves the problem. '? eivals' says: The package `eigen.mac' is loaded automatically when `eigenvalues' or `eigenvectors' is referenced. If `eigen.mac' is not already loaded, `load ("eigen")' loads it. After loading, all functions and variables in the package are available. Shouldn't eigen.mac be autoloaded? Otherwise I would expect the output: %o eigenvalues(a) ---------------------------------------------------------------------- >Comment By: David Ström (dmaj26) Date: 2009-03-08 09:56 Message: Sorry, multiple %i:s it should be. Another thing is that 'eivals(a)' causes just %o eivals(a) (no autoload, but not exactly the same bug as eigenvals) ---------------------------------------------------------------------- Comment By: Robert Dodier (robert_dodier) Date: 2009-03-07 18:32 Message: Fixed (I hope) by r1.53 src/mload.lisp. Can someone with a Windows build environment please try it. ---------------------------------------------------------------------- Comment By: Robert Dodier (robert_dodier) Date: 2009-03-07 16:39 Message: Looks like the problem is due to combination of bugs, one in Maxima and one in the Windows implementation of GCL. (1) The eigenvalues function is automatically loaded the first time it is referenced. Maxima should suppress the prompt when loading the file. (2) Windows GCL has a broken function READ-CHAR-NO-HANG: it always returns NIL. So Maxima thinks that it needs to print a prompt (to tell the user to enter more input). Probably the easiest thing is to tell Maxima to suppress the prompt while loading the file. Then the bug in READ-CHAR-NO-HANG might have no effect. By the way, I see multiple %i input prompts. To the original poster: are you seeing %o or %i prompts? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2664752&group_id=4933 |