Jump to content

Talk:Hoshen–Kopelman algorithm

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Hugo.cavalcante (talk | contribs) at 19:32, 24 February 2023 (Bug in pseudo-code: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Bug in pseudo-code

If we implement the pseudo-code as is it does not work. The loops on x and y start at 0, but there are indexes in arrays with value x-1 and y-1, which would raise an error. Hugo.cavalcante (talk) 19:32, 24 February 2023 (UTC)[reply]