Fix bug #996: fix comparisons to 0 instead of Scalar(0)

This commit is contained in:
Gael Guennebaud
2015-04-15 14:44:57 +02:00
parent 0f82399fe9
commit 04c8c5d9ef
3 changed files with 65 additions and 8 deletions

View File

@@ -18,6 +18,9 @@ namespace Eigen {
* \returns the cross product of \c *this and \a other
*
* Here is a very good explanation of cross-product: http://xkcd.com/199/
*
* With complex numbers, the cross product is implemented as \f$ \mathbf{a}+\mathrm{i}\mathbf{b}) \times \f$
*
* \sa MatrixBase::cross3()
*/
template<typename Derived>