shogun: fix compile errors with Eigen 3.4
Fixes #142811.
Sebastián Mancilla 4 years ago 203db44e 82568e67