Fix integration area = 0 for a led

Former-commit-id: b365c4c9605a84ea6b7f88043f6f9c70b7122931
This commit is contained in:
johan 2014-05-06 22:02:40 +02:00
parent 2d16d369a3
commit d50b46bda2
1 changed files with 3 additions and 2 deletions

View File

@ -35,6 +35,7 @@ ImageToLedsMap::ImageToLedsMap(
// skip leds without area
if ((led.maxX_frac-led.minX_frac) < 1e-6 || (led.maxY_frac-led.minY_frac) < 1e-6)
{
mColorsMap.emplace_back();
continue;
}