mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +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)
|
Derived& operator=(const ArrayBase& other)
|
||||||
{
|
{
|
||||||
internal::call_assignment(derived(), other.derived());
|
internal::call_assignment(derived(), other.derived());
|
||||||
|
return derived();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set all the entries to \a value.
|
/** Set all the entries to \a value.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user