This commit is contained in:
Benoit Jacob 2010-04-25 17:10:28 -04:00
parent 9337f371d2
commit ce09b4ddfc
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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);