mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-01 00:04:14 +08:00
Rename variable which shadows class name
This commit is contained in:
parent
705f66a9ca
commit
44ee201337
@ -89,13 +89,13 @@ class companion
|
|||||||
{
|
{
|
||||||
const Index deg = m_monic.size();
|
const Index deg = m_monic.size();
|
||||||
const Index deg_1 = deg-1;
|
const Index deg_1 = deg-1;
|
||||||
DenseCompanionMatrixType companion(deg,deg);
|
DenseCompanionMatrixType companMat(deg,deg);
|
||||||
companion <<
|
companMat <<
|
||||||
( LeftBlock(deg,deg_1)
|
( LeftBlock(deg,deg_1)
|
||||||
<< LeftBlockFirstRow::Zero(1,deg_1),
|
<< LeftBlockFirstRow::Zero(1,deg_1),
|
||||||
BottomLeftBlock::Identity(deg-1,deg-1)*m_bl_diag.asDiagonal() ).finished()
|
BottomLeftBlock::Identity(deg-1,deg-1)*m_bl_diag.asDiagonal() ).finished()
|
||||||
, m_monic;
|
, m_monic;
|
||||||
return companion;
|
return companMat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user