mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-01 18:26:24 +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
|
||||
// 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
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -12,7 +12,7 @@ void ei_covar(
|
||||
|
||||
/* Function Body */
|
||||
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);
|
||||
assert(ipvt.size()==n);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user