timedata-org / old-timedata

Time arts data - high-performance color processing in C++ and Python.
7 stars 3 forks source link

Memory corruption issue in displaying grays! #2

Closed rec closed 8 years ago

rec commented 8 years ago

This is really annoying and weird, particularly since I've looked at it several times already and tried variations of the code.

Executing this line has indeterminate results.

I occasionally get it when printing gray 50 or other grays but I never seem to get it with either named colors or with triplet colors.

The code seems innocuous enough, and I've tried various versions. Note that the problem does exhibit itself in the print statement on line 63, so it must be these lines...!