diff options
author | Gael Guennebaud <g.gael@free.fr> | 2013-09-07 00:01:04 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2013-09-07 00:01:04 +0200 |
commit | 07417bd03f501efd276302123eb77b2f5a1a67b7 (patch) | |
tree | 576f96464bb599a980ac59c2ffc5a39951768038 /Eigen/src/Core/Array.h | |
parent | 7fa007e8bfa8aa90731ad5d228e998d71c97b791 (diff) |
Fix bug #654: allow implicit transposition in Array to Matrix and Matrix to Array constructors
Diffstat (limited to 'Eigen/src/Core/Array.h')
-rw-r--r-- | Eigen/src/Core/Array.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Array.h b/Eigen/src/Core/Array.h index 3d0350834..0b9c38c82 100644 --- a/Eigen/src/Core/Array.h +++ b/Eigen/src/Core/Array.h @@ -225,7 +225,7 @@ class Array : Base(other.derived().rows() * other.derived().cols(), other.derived().rows(), other.derived().cols()) { Base::_check_template_params(); - Base::resize(other.rows(), other.cols()); + Base::_resize_to_match(other); *this = other; } |