Currently, when hotspot2.cpp encounters a window in which all measurements have the same value (i.e., a histogram with all values in one bin, i.e., with variance = 0), the program exits. This behavior was put in there basically for debugging, not for production. hotspot2 needs to be able to continue processing if it encounters var = 0. No output should be written for windows with var = 0.
Currently, when hotspot2.cpp encounters a window in which all measurements have the same value (i.e., a histogram with all values in one bin, i.e., with variance = 0), the program exits. This behavior was put in there basically for debugging, not for production. hotspot2 needs to be able to continue processing if it encounters var = 0. No output should be written for windows with var = 0.