brandonp1551 / Waterflow

Water Flow project
0 stars 0 forks source link

GraphicalTopMap.colorValue() sometimes returns negative values #18

Open taylorcjensen opened 7 years ago

taylorcjensen commented 7 years ago

For some reason colorValue() would sometimes return a negative value. This has been temporarily prevented by returning the absolute value of the result instead. But it shouldn't ever be negative.

Are negative values being fed into it? If so where did they come from and what effect do they have on the map?