From: <no...@so...> - 2002-06-27 21:09:23
|
Bugs item #531637, was opened at 2002-03-18 18:19 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=531637&group_id=4933 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Daniel Lemire (lemire) Assigned to: Nobody/Anonymous (nobody) Summary: variable $FEATURE is unbound Initial Comment: This error message is unexcusably bad. (C1) ode2(d(y(x),x)=1/y(x),y(x),x); Error: The variable $FEATURE is unbound. Fast links are on: do (si::use-fast-links nil) for debugging Error signalled by MACSYMA-TOP-LEVEL. Broken at MACSYMA-TOP-LEVEL. Type :H for Help. MAXIMA>> Desired result: Maxima should point out that "d" is not defined so that the user can correct his expression to (C1) ode2(diff(y(x),x)=1/y(x),y(x),x); ---------------------------------------------------------------------- >Comment By: Raymond Toy (rtoy) Date: 2002-06-27 17:09 Message: Logged In: YES user_id=28849 This simple patch will fix the error: --- ode2.lisp 8 May 2000 06:09:41 -0000 1.1.1.1 +++ ode2.lisp 27 Jun 2002 21:07:11 -0000 @@ -1542,7 +1542,7 @@ ($YNEW) NIL (PROGN - (COND ((NOT (IS-BOOLE-CHECK ($STATUS $FEATURE &ODE))) + (COND ((NOT (IS-BOOLE-CHECK (STATUS $FEATURE &ODE))) (DISPLAY-FOR-TR T NIL (SIMPLIFY ($SUBSTITUTE (TRD-MSYMEVAL $YOLD But, then maxima says: 1 (E10) d(y(x), x) = ---- y(x) MSG1 But I think MSG1 is supposed to say '|&Not a proper differential equation| ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=531637&group_id=4933 |
From: <no...@so...> - 2002-06-27 21:37:32
|
Bugs item #531637, was opened at 2002-03-18 18:19 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=531637&group_id=4933 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Daniel Lemire (lemire) Assigned to: Nobody/Anonymous (nobody) Summary: variable $FEATURE is unbound Initial Comment: This error message is unexcusably bad. (C1) ode2(d(y(x),x)=1/y(x),y(x),x); Error: The variable $FEATURE is unbound. Fast links are on: do (si::use-fast-links nil) for debugging Error signalled by MACSYMA-TOP-LEVEL. Broken at MACSYMA-TOP-LEVEL. Type :H for Help. MAXIMA>> Desired result: Maxima should point out that "d" is not defined so that the user can correct his expression to (C1) ode2(diff(y(x),x)=1/y(x),y(x),x); ---------------------------------------------------------------------- >Comment By: Raymond Toy (rtoy) Date: 2002-06-27 17:37 Message: Logged In: YES user_id=28849 I think this patch will fix this problem and also print out the desired message. I don't know if this is right or not. --- ode2.lisp 8 May 2000 06:09:41 -0000 1.1.1.1 +++ ode2.lisp 27 Jun 2002 21:35:03 -0000 @@ -69,7 +69,7 @@ ($EQ $Y $X) NIL ((LAMBDA - ($DE $A1 $A2 $A3 $A4 $%Q% $MSG1) + ($DE $A1 $A2 $A3 $A4 $%Q% $MSG) NIL (PROG NIL @@ -93,7 +93,7 @@ (TRD-MSYMEVAL $Y '$Y) (TRD-MSYMEVAL $X '$X))) 2)) - (RETURN ($FAILURE (TRD-MSYMEVAL $MSG1 '$MSG1) $EQ)))) + (RETURN ($FAILURE (TRD-MSYMEVAL $MSG '$MSG) $EQ)))) (SETQ $A1 (SIMPLIFY ($COEFF $DE (SIMPLIFY `((%DERIVATIVE) , (TRD-MSYMEVAL $Y '$Y) , @@ -1542,7 +1542,8 @@ ($YNEW) NIL (PROGN - (COND ((NOT (IS-BOOLE-CHECK ($STATUS $FEATURE &ODE))) + (COND ((NOT (IS-BOOLE-CHECK (STATUS $FEATURE &ODE))) + (break) (DISPLAY-FOR-TR T NIL (SIMPLIFY ($SUBSTITUTE (TRD-MSYMEVAL $YOLD ---------------------------------------------------------------------- Comment By: Raymond Toy (rtoy) Date: 2002-06-27 17:09 Message: Logged In: YES user_id=28849 This simple patch will fix the error: --- ode2.lisp 8 May 2000 06:09:41 -0000 1.1.1.1 +++ ode2.lisp 27 Jun 2002 21:07:11 -0000 @@ -1542,7 +1542,7 @@ ($YNEW) NIL (PROGN - (COND ((NOT (IS-BOOLE-CHECK ($STATUS $FEATURE &ODE))) + (COND ((NOT (IS-BOOLE-CHECK (STATUS $FEATURE &ODE))) (DISPLAY-FOR-TR T NIL (SIMPLIFY ($SUBSTITUTE (TRD-MSYMEVAL $YOLD But, then maxima says: 1 (E10) d(y(x), x) = ---- y(x) MSG1 But I think MSG1 is supposed to say '|&Not a proper differential equation| ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=531637&group_id=4933 |
From: <no...@so...> - 2002-07-01 15:22:15
|
Bugs item #531637, was opened at 2002-03-18 18:19 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=531637&group_id=4933 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Daniel Lemire (lemire) Assigned to: Nobody/Anonymous (nobody) Summary: variable $FEATURE is unbound Initial Comment: This error message is unexcusably bad. (C1) ode2(d(y(x),x)=1/y(x),y(x),x); Error: The variable $FEATURE is unbound. Fast links are on: do (si::use-fast-links nil) for debugging Error signalled by MACSYMA-TOP-LEVEL. Broken at MACSYMA-TOP-LEVEL. Type :H for Help. MAXIMA>> Desired result: Maxima should point out that "d" is not defined so that the user can correct his expression to (C1) ode2(diff(y(x),x)=1/y(x),y(x),x); ---------------------------------------------------------------------- >Comment By: Raymond Toy (rtoy) Date: 2002-07-01 11:22 Message: Logged In: YES user_id=28849 Patch in previous message applied. ---------------------------------------------------------------------- Comment By: Raymond Toy (rtoy) Date: 2002-06-27 17:37 Message: Logged In: YES user_id=28849 I think this patch will fix this problem and also print out the desired message. I don't know if this is right or not. --- ode2.lisp 8 May 2000 06:09:41 -0000 1.1.1.1 +++ ode2.lisp 27 Jun 2002 21:35:03 -0000 @@ -69,7 +69,7 @@ ($EQ $Y $X) NIL ((LAMBDA - ($DE $A1 $A2 $A3 $A4 $%Q% $MSG1) + ($DE $A1 $A2 $A3 $A4 $%Q% $MSG) NIL (PROG NIL @@ -93,7 +93,7 @@ (TRD-MSYMEVAL $Y '$Y) (TRD-MSYMEVAL $X '$X))) 2)) - (RETURN ($FAILURE (TRD-MSYMEVAL $MSG1 '$MSG1) $EQ)))) + (RETURN ($FAILURE (TRD-MSYMEVAL $MSG '$MSG) $EQ)))) (SETQ $A1 (SIMPLIFY ($COEFF $DE (SIMPLIFY `((%DERIVATIVE) , (TRD-MSYMEVAL $Y '$Y) , @@ -1542,7 +1542,8 @@ ($YNEW) NIL (PROGN - (COND ((NOT (IS-BOOLE-CHECK ($STATUS $FEATURE &ODE))) + (COND ((NOT (IS-BOOLE-CHECK (STATUS $FEATURE &ODE))) + (break) (DISPLAY-FOR-TR T NIL (SIMPLIFY ($SUBSTITUTE (TRD-MSYMEVAL $YOLD ---------------------------------------------------------------------- Comment By: Raymond Toy (rtoy) Date: 2002-06-27 17:09 Message: Logged In: YES user_id=28849 This simple patch will fix the error: --- ode2.lisp 8 May 2000 06:09:41 -0000 1.1.1.1 +++ ode2.lisp 27 Jun 2002 21:07:11 -0000 @@ -1542,7 +1542,7 @@ ($YNEW) NIL (PROGN - (COND ((NOT (IS-BOOLE-CHECK ($STATUS $FEATURE &ODE))) + (COND ((NOT (IS-BOOLE-CHECK (STATUS $FEATURE &ODE))) (DISPLAY-FOR-TR T NIL (SIMPLIFY ($SUBSTITUTE (TRD-MSYMEVAL $YOLD But, then maxima says: 1 (E10) d(y(x), x) = ---- y(x) MSG1 But I think MSG1 is supposed to say '|&Not a proper differential equation| ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=531637&group_id=4933 |