Closed adamgreig closed 8 years ago
Nothing in control really cares whether the grid states it receives are uint8 or int or any other integer datatype. We could add this check but it's not very python-esque. I've modified all existing patterns to return uint8. Diffusion still uses int internally to give it a bit more wiggle room, then truncates its output to uint8.
I anticipate sinks relying on the data format and thus otherwise having to convert it, which is wasteful and possibly surprising for people writing/testing sinks.
f4f2dea22e40225d8f1c2309cf75bcb11b326736