Fix a template problem that occured while rebasing topic/eigen on master.