twitter/BreakoutDetection — pull request #11 by putnam120 (2014-11-27 03:34:04+00:00)
Title: Fixed null iterator error

When calling erase on a set it invalidates all of the iterators pointing to the removed element. For compilers that strictly adhere to the c++ standard this will insert a random double into the set.

This issue has been fixed by inserting elements before calling the erase function.