Itseez/opencv — pull request #3388 by bartaandras (2014-11-04 10:39:30+00:00)
Title: Fixed calc_output_scale with NO_OUTPUT_SCALE flag set.

This change makes it possible to train an MLP by using only 1 input vector at a time. Otherwise the second training run would fail with out of range error.