Hi Jakub, On Tue, Jul 12, 2016 at 01:10:44PM +0200, Jakub Wilk wrote: > > For some reason Eigen thinks that v.colwise().sum() cannot be treated as a > one-dimensional vector, which smells like a bug in Eigen. Changing the last > line to > > m = v.colwise().sum()(0, 0); > > seems to do the trick. Works. Thanks a lot Andreas. -- http://fam-tille.de