mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
compile
This commit is contained in:
parent
9337f371d2
commit
ce09b4ddfc
@ -1,7 +1,7 @@
|
|||||||
// This file is part of Eigen, a lightweight C++ template library
|
// This file is part of Eigen, a lightweight C++ template library
|
||||||
// for linear algebra.
|
// for linear algebra.
|
||||||
//
|
//
|
||||||
// Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
|
// Copyright (C) 2006-2010 Benoit Jacob <jacob.benoit.1@gmail.com>
|
||||||
//
|
//
|
||||||
// Eigen is free software; you can redistribute it and/or
|
// Eigen is free software; you can redistribute it and/or
|
||||||
// modify it under the terms of the GNU Lesser General Public
|
// modify it under the terms of the GNU Lesser General Public
|
||||||
|
@ -12,7 +12,7 @@ void ei_covar(
|
|||||||
|
|
||||||
/* Function Body */
|
/* Function Body */
|
||||||
const int n = r.cols();
|
const int n = r.cols();
|
||||||
const Scalar tolr = tol * ei_abs(r[0]);
|
const Scalar tolr = tol * ei_abs(r(0,0));
|
||||||
Matrix< Scalar, Dynamic, 1 > wa(n);
|
Matrix< Scalar, Dynamic, 1 > wa(n);
|
||||||
assert(ipvt.size()==n);
|
assert(ipvt.size()==n);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user