mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-19 16:19:37 +08:00
Fix conversion warning
This commit is contained in:
parent
b986c147cd
commit
db0f5c9d90
@ -377,7 +377,7 @@ template<typename Solver> void check_sparse_square_solving(Solver& solver, int m
|
||||
}
|
||||
// regression test for Bug 792 (structurally rank deficient matrices):
|
||||
if(checkDeficient && size>1) {
|
||||
Index col = internal::random<int>(0,size-1);
|
||||
Index col = internal::random<int>(0,int(size-1));
|
||||
A.prune(prune_column(col));
|
||||
solver.compute(A);
|
||||
VERIFY_IS_EQUAL(solver.info(), NumericalIssue);
|
||||
|
Loading…
x
Reference in New Issue
Block a user