invalid expression in content|unit|...()

Christian Bauer cbauer at student.physik.uni-mainz.de
Thu Nov 22 19:33:02 CET 2001


Hi!

On Thu, Nov 22, 2001 at 08:10:56PM +0200, Pearu Peterson wrote:
> Ok then, but how about the following solution: remove constant
> class altogether and put its current initnumber/efun stuff into symbol
> class.

This is what I had in mind.

> simplify_indexed(p.i^2*q.j^2-p.n^2*q.j^2)-0 erroneously returned
> p.i^2*q.j^2-q.i^2*p.j^2 instead of 0

Interesting. Maybe this is one of those checks that were never guaranteed
to always work... :-)

Bye,
Christian

-- 
  / Coding on PowerPC and proud of it
\/ http://www.uni-mainz.de/~bauec002/



More information about the GiNaC-devel mailing list