mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-01 00:04:14 +08:00
compilation fixes
This commit is contained in:
parent
24950bdfcb
commit
fcae32cc3f
@ -233,7 +233,7 @@ struct ei_partial_lu_impl
|
|||||||
for(int k = 0; k < size; ++k)
|
for(int k = 0; k < size; ++k)
|
||||||
{
|
{
|
||||||
int row_of_biggest_in_col;
|
int row_of_biggest_in_col;
|
||||||
lu.block(k,k,rows-k,1).cwise().abs().maxCoeff(&row_of_biggest_in_col);
|
lu.col(k).end(rows-k).cwise().abs().maxCoeff(&row_of_biggest_in_col);
|
||||||
row_of_biggest_in_col += k;
|
row_of_biggest_in_col += k;
|
||||||
|
|
||||||
row_transpositions[k] = row_of_biggest_in_col;
|
row_transpositions[k] = row_of_biggest_in_col;
|
||||||
|
@ -120,7 +120,7 @@ void test_redux()
|
|||||||
CALL_SUBTEST( matrixRedux(MatrixXi(8, 12)) );
|
CALL_SUBTEST( matrixRedux(MatrixXi(8, 12)) );
|
||||||
}
|
}
|
||||||
for(int i = 0; i < g_repeat; i++) {
|
for(int i = 0; i < g_repeat; i++) {
|
||||||
CALL_SUBTEST( vectorRedux(VectorX4f()) );
|
CALL_SUBTEST( vectorRedux(Vector4f()) );
|
||||||
CALL_SUBTEST( vectorRedux(VectorXd(10)) );
|
CALL_SUBTEST( vectorRedux(VectorXd(10)) );
|
||||||
CALL_SUBTEST( vectorRedux(VectorXf(33)) );
|
CALL_SUBTEST( vectorRedux(VectorXf(33)) );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user