Is relational::is_equal patch needed?

Richard B. Kreckel kreckel at thep.physik.uni-mainz.de
Wed Nov 21 14:18:58 CET 2001


Hi,

On Wed, 21 Nov 2001, Pearu Peterson wrote:
> I have noticed that
> 	relational(a,b,==).is_equal(relational(b,a,==))
> returns
> 	0
> 
> Is this expected behaviour for GiNaC internals? I just want to know
> whether it is worth to write a patch such that
> 	a==b .is_equal(b==a)    -> 1
> 	a<b  .is_equal(b>a)	-> 1
> 	etc.
> that should be implemented in the method
> 	relational::is_equal_same_type
> right?

Sounds good to me.

Can you send a patch?  I am planning to put out 1.0.1 tomorrow.

Cheers
   -richy.
-- 
Richard B. Kreckel
<Richard.Kreckel at Uni-Mainz.DE>
<http://wwwthep.physik.uni-mainz.de/~kreckel/>





More information about the GiNaC-devel mailing list