Hi,

Hard to know without seeing the code. One way to make sure that the program is 
behaving correctly is to use unit tests, you make a change, run the tests if 
everything the same you know you’ve not introduced an error. That combined with 
version control can be a very effective way of programming, but that’s perhaps 
a little off topic.

It your doing the floating point calculations sightly differently it may just 
be rounding errors. The was at least one calculation in there that was would be 
sensitive to that. Comparing the value of a complex floating point calculations 
some exact values is always going to cause some issues.

Take one of the properties you that you show up in one set and not the other 
and see what condition fails and compare the values it produces.

Thanks,
Justin

Reply via email to