shogun-toolbox/shogun — pull request #415 by iglesias (2012-04-03 11:56:50+00:00)
Title: Small fix to avoid seg fault

When cross validation was intended to be done with a KernelMachine but the Kernel member has not been initialized, there was a segmentation fault. The fix blocks the execution in this scenario.

This error has been pointed bout by Nicholas Pilkington in the mailing list.

There is a small indent fix as well :)