SubVector -> Vector to make clang on Mac OS happy

release/4.3a0
Chris Beall 2013-02-07 16:46:13 +00:00
parent 542d396d3b
commit 07aebc3014
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ void optimizeWildfire(const boost::shared_ptr<CLIQUE>& clique, double threshold,
for(it = (*clique)->beginFrontals(); it!=(*clique)->endFrontals(); it++) {
if(!valuesChanged) {
const Vector& oldValue(originalValues[it - (*clique)->beginFrontals()]);
const SubVector& newValue(delta[*it]);
const Vector& newValue(delta[*it]);
if((oldValue - newValue).lpNorm<Eigen::Infinity>() >= threshold) {
valuesChanged = true;
break;