Percolation/Bond percolation: Difference between revisions

Updated D entry
(Updated D entry)
(Updated D entry)
Line 204:
}
 
bool percolate() pure nothrow @nogc {
bool fill(in size_t i) pure nothrow @nogc {
if (cells[i] & filled)
return false;