Ignotus-mago / PixelScanner

Scan 2D pixel maps to 1D arrays derived from space-filling curves.
Other
0 stars 0 forks source link

scanner.lookup() out of range #2

Open Ignotus-mago opened 1 year ago

Ignotus-mago commented 1 year ago

As a good precaution, check that x and x variables are in range of the lookup method() and return an error or error message. So much better than crashing.