[GiNaC-devel] patch for numeric.cpp

Jens Vollinga vollinga at physik.uni-wuppertal.de
Wed Nov 9 16:46:51 CET 2005


Hi Chris,

Chris Dams wrote:
> I found out that 1.has(0) returns true. Iteresting ;-o. A patch is 
> attached.
> 
> This made me wonder about 2.has(2*I). It returns true. Is this really the 
> idea?

I am not sure, but I don't think so. I modified your patch slighty to 
cover that case too (and put it into CVS).

Regards,
Jens


More information about the GiNaC-devel mailing list