Gael Guennebaud cd577a275c Relax promote_scalar_arg logic to enable promotion to Expr::Scalar if conversion to Expr::Literal fails.
This is useful to cancel expression template at the scalar level, e.g. with AutoDiff<AutoDiff<>>.
This patch also defers calls to NumTraits in cases for which types are not directly compatible.
2016-06-24 11:28:54 +02:00
..
2016-01-27 22:48:40 +01:00
2015-10-30 12:02:52 +01:00
2016-01-27 22:48:40 +01:00
2016-01-27 22:48:40 +01:00