diff --git a/Eigen/src/Core/ArrayBase.h b/Eigen/src/Core/ArrayBase.h index b37b49ac4..d42693d4b 100644 --- a/Eigen/src/Core/ArrayBase.h +++ b/Eigen/src/Core/ArrayBase.h @@ -121,6 +121,7 @@ template class ArrayBase Derived& operator=(const ArrayBase& other) { internal::call_assignment(derived(), other.derived()); + return derived(); } /** Set all the entries to \a value.