ALTRO: InexactError: trunc(UInt8, 279)

This looks like a bug. The UInt8 type can only represent integers from 0 to 255, and the error is telling you that the code tried to perform an operation where no exact transformation could be performed, I.e. 279 can’t be represented by this type.

1 Like