Re: [eigen] Convert 1x1 matrix to internal type?

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Just to chime in. The 1x1 matrix -> scalar convertion can be made automatic while: - being non ambiguous thanks to SFINAE (that's a choice of yours to use it or not)
- assert on matrix size to be 1x1 in said operator.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/