diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-01-04 21:24:43 -0500 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-01-04 21:24:43 -0500 |
commit | 39ac57fa6ddf9a74d9a6cc213293914d2e05ec31 (patch) | |
tree | 6c5c83c68ca023799bc09ebcbe150f894cb33b3b /disabled | |
parent | 78ba523d3038b854c5beca7a94cbe9b7e955a9f3 (diff) |
Big renaming:
start ---> head
end ---> tail
Much frustration with sed syntax. Need to learn perl some day.
Diffstat (limited to 'disabled')
-rw-r--r-- | disabled/Householder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/disabled/Householder.h b/disabled/Householder.h index 874b812db..9b5f56360 100644 --- a/disabled/Householder.h +++ b/disabled/Householder.h @@ -16,8 +16,8 @@ void ei_compute_householder(const InputVector& x, OutputVector *v, typename Outp typedef typename OutputVector::RealScalar RealScalar; ei_assert(x.size() == v->size()+1); int n = x.size(); - RealScalar sigma = x.end(n-1).squaredNorm(); - *v = x.end(n-1); + RealScalar sigma = x.tail(n-1).squaredNorm(); + *v = x.tail(n-1); // the big assumption in this code is that ei_abs2(x->coeff(0)) is not much smaller than sigma. if(ei_isMuchSmallerThan(sigma, ei_abs2(x.coeff(0)))) { |