BVLC/caffe — pull request #1469 by longjon (2014-11-22 20:10:18+00:00)
Title: Check both lower and upper bounds in SoftmaxLossLayer

If we're going to do bounds checking, may as well check all the bounds. I've already run into this while accidentally using uninitialized labels.