[Bug 1556588] Re: Hash collision

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Bug 1556588] Re: Hash collision

Hilaire Fernandes
For the broken Durer script, hash problem comes from:

 ^ hash := super rehash bitXor: self parents reverse hash

The part with the hash on the reversed parents is the source of the problem.
It was introduced so lines (AB) and (BA) share the same hash value.

You received this bug notification because you are a member of DrGeo
developers, which is subscribed to Dr. Geo II.
Matching subscriptions: Dr. Geo bug report

  Hash collision

Status in Dr. Geo II:
  In Progress

Bug description:
  We have collision between DrGPointIntersection and DrGSegment2Points

  Althought parents of these two instances:
  - two circles
  - two point

  It occurs with Koch and Durer scripts

To manage notifications about this bug go to:
Was this message helpful?
Tell us!