#1115 [5.11] Lisp error on solve

closed
nobody
5
2007-10-31
2007-02-14
No

The following commands generate the error:

reset();
x(t) := a0+a1*t+a2*t^2+a3*t^3;
solve( [x(0) = x0 ], [a0]);
solve( [x(0) = x0, x(1) = x1 ], [a0]);

Error:
(%i3) solve([x(0) = x0, x(1) = x1], [a0])
Maxima encountered a Lisp error:

CAR: 2 is not a list

Automatically continuing.

System information:
Maxima version: 5.11.0
Maxima build date: 8:6 1/15/2007
host type: x86_64-pc-linux-gnu
lisp-implementation-type: CLISP
lisp-implementation-version: 2.41 (2006-10-13) (built 3374317914) (memory 3377826422)

Discussion

  • Barton Willis

    Barton Willis - 2007-04-22

    Logged In: YES
    user_id=895922
    Originator: NO

    Maxima compiled with GCL doesn't report a CL error:

    (%i28) solve([x(0) = x0, x(1) = x1], [a0]);
    Inconsistent equations: (2)

    (%i29) solve([x(0) = x0, x(1) = x1], [a0,a1]);
    (%o29) [[a0=x0,a1=x1-x0-a3-a2]]

     
  • Dan Gildea

    Dan Gildea - 2007-10-31
    • status: open --> closed
     
  • Dan Gildea

    Dan Gildea - 2007-10-31

    Logged In: YES
    user_id=1797506
    Originator: NO

    Fixed in solve.lisp rev 1.16

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks