mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
Add missing return derived() in ArrayBase::operator=
This commit is contained in:
parent
ce2035af86
commit
74cde0c925
@ -121,6 +121,7 @@ template<typename Derived> class ArrayBase
|
||||
Derived& operator=(const ArrayBase& other)
|
||||
{
|
||||
internal::call_assignment(derived(), other.derived());
|
||||
return derived();
|
||||
}
|
||||
|
||||
/** Set all the entries to \a value.
|
||||
|
Loading…
x
Reference in New Issue
Block a user