Re: [PyGiNaC-users] strange behavior with the test suite
Status: Alpha
Brought to you by:
jbrandmeyer
From: <pp...@fy...> - 2005-10-04 17:16:06
|
Hi, > I think that this is a canonicalization issue. If hash(x) is greater > than hash(y) (when reinterpret_cast'ed back to unsigned ints), then > pow(x - y, 2) normalizes to pow(y - x, 2) > > I'm not sure if this behavior is deliberate so I'm bringing it up on > ginac-list. In the meantime, a patch has been committed to CVS that > works around the error. I'm afraid there is something wrong in the workaround. I did a cvs update getting your changes (bin/exam_normalization.py and ChangeLog) and rerun the test (again several times since it does not fail every time), and I still get the error sometimes. Are you still able to reproduce the error or is it just me? Regards, Matti -- Matti Peltomaki, Graduate Student Laboratory of Physics Helsinki University of Technology 040 7576977, room Y308B |