Get rid off GCC warning on comparing enums from different types.
Get rid off GCC warning on comparing enums from different types.

pthulhu/eigen,pthulhu/eigen,pthulhu/eigen,pthulhu/eigen,cjntaylor/eigen,cjntaylor/eigen,cjntaylor/eigen,cjntaylor/eigen,pthulhu/eigen