strange bug

Christian Bauer Christian.Bauer at Uni-Mainz.DE
Mon Jul 12 18:09:14 CEST 2004


Hi!

On Sat, Jul 10, 2004 at 11:50:39AM +0200, Ralf Stephan wrote:
>   e = e[0];

It's better to use op() here because ex::operator[] on a non-const object
calls let_op() which is a more expensive operation.

Anyway, it shouldn't crash (and it doesn't do that here, even with efence).
A gdb backtrace would be nice.

Bye,
Christian

-- 
  / Physics is an algorithm
\/ http://www.uni-mainz.de/~bauec002/



More information about the GiNaC-devel mailing list