shogun-toolbox/shogun — pull request #728 by vigsterkr (2012-08-16 19:47:58+00:00)
Title: Fix argmax function in MulticlassModel

The logic of finding argmax_y in MulticlassModel::argmax was
incorrect, thus sometimes it might not have returned the actual
argmax_y!

fixed some other possible null pointer dereferencing