endernewton/subdiscover — pull request #1 by rohitgirdhar (2014-10-11 03:43:44+00:00)
Title: bug fix: need num of rows

`detectors` is a matrix with dimensions `nDetectors x 6`
`length()` gives the larger dimension, so this would simply give 6 as `nDetectors` if running with small number of images that lead to small number of detections (<6)